Create a Stored procedure report ORA-00904

Source: Internet
Author: User
Tags flush

The newly developed colleague came to me, after adding a field to a table on the intranet database, and then creating the stored procedure, the error indicates that the new field is invalid.


Warning:procedure created with compilation errors.

Sql> Show Error
Errors for PROCEDURE cb_date_modify:

Line/col ERROR
-------- -----------------------------------------------------------------
37/20 Pl/sql:sql Statement ignored
37/27 pl/sql:ora-00904: "A3". " OLD_ID ": Invalid identifier

 
There have been similar problems before, it is estimated that the shared pool is related, because it is the Intranet test library, so directly flush the shared pool
Sql> alter system flush Shared_pool;

System altered.

sql> Create or replace procedure cb_date_modify is
。。。。
。。。。
/

Procedure created.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.