Initializing CONSTANT PLS_INTEGER With Packaged Function Fails with PLS-00222 Error
Last updated on MAY 19, 2018
Applies to:PL/SQL - Version 126.96.36.199 and later
Information in this document applies to any platform.
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.
Database Upgrade to 188.8.131.52.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms