RDBPROD: Validating Stored Procedures
(Doc ID 65089.1)
Last updated on FEBRUARY 04, 2022
Applies to:
Oracle Rdb Server on OpenVMS - Version 7.0 and laterHP OpenVMS VAX
HP OpenVMS Alpha
HP OpenVMS Itanium
Goal
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.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |