Oracle® Database 8i | 9i | 10g | 11g | 12c | 18c | 19c Error Codes

Information for Database Error Code ORA-06573: Function [string] modifies package state, cannot be used here
Oracle® Database Error ORA-06573230/8

ORA-06573: Function [string] modifies package state, cannot be used here

Cause: There are two possible causes for this message:* A SQL statement references a packaged, PL/SQL function that does not contain a pragma containing the ''Write no Package State'' (WNPS).* A SQL statement references a stand-alone, PL/SQL function that modifies a package state. A stand-alone, PL/SQL function referenced by a SQL statement cannot modify a package state.

Action: If the function is a packaged, PL/SQL function: Recreate the function and include a pragma containing the ''Write no Package State'' (WNPS). If the function is a stand-alone, PL/SQL function: Delete the function from the SQL statement.

Error Type: ORA

Oracle® Database Error Codes 8i | 9i | 10g | 11g | 12c | 18c | 19c

Record: 1/1

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners

Oracle: Registered trademark of Oracle