Initializing CONSTANT PLS_INTEGER With Packaged Function Fails with PLS-00222 Error
(Doc ID 2365986.1)
Last updated on MARCH 04, 2022
Applies to:
PL/SQL - Version 12.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
Initializing a CONSTANT PLS_INTEGER fails with PLS-00222 error. For example, the below package will fail with PLS-00222 error when compiled.
Issue is not seen when using standalone function or when using SIMPLE_INTEGER or INTEGER datatype instead of PLS_INTEGER.
Changes
Database Upgrade to 12.2.0.1.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |