RDBPROD: Validating Stored Procedures
(Doc ID 65089.1)
Last updated on NOVEMBER 07, 2019
Applies to:Oracle Rdb Server on OpenVMS - Version 7.0 and later
HP OpenVMS VAX
HP OpenVMS Alpha
HP OpenVMS Itanium
When a stored procedure is invalidated by a data definition language (DDL) operation, in most cases, you can make a procedure valid again by using additional DDL statements. (If a procedure is invalidated because of language dependencies, Oracle Rdb returns a fatal error and you cannot make it valid again.)
For example, the procedure, NEW_SALARY_PROC, which is defined using the following SQL statement, uses the SALARY_HISTORY table:
If you drop the SALARY_HISTORY table by using the CASCADE option, Oracle Rdb marks the NEW_SALARY_PROC as invalid.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!