Initializing CONSTANT PLS_INTEGER With Packaged Function Fails with PLS-00222 Error
(Doc ID 2365986.1)
Last updated on MAY 19, 2018
Applies to:PL/SQL - Version 220.127.116.11 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 18.104.22.168.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!