PLS-00452: Subprogram 'string' violates its associated pragma



PLS-00452: Subprogram 'string' violates its associated pragma..

Answer / guest

Cause: A packaged function cannot be called from SQL
statements unless its purity level is asserted by coding a
RESTRICT_REFERENCES pragma in the package specification. The
pragma, which is used to control side effects, tells the
PL/SQL compiler to deny the packaged function read/write
access to database tables, public packaged variables, or
both. A SQL statement that violates the pragma will cause a
compilation error.

Action: Raise the purity level of the function, or relax the
pragma restrictions.

Please add more information about this Error

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

IMG-00544: invalid compressionQuality specified

1 Answers  


ORA-24122: invalid block range specification

1 Answers  


TNS-00298: Request to Navigator: string

1 Answers  


TNS-00087: * version - ask the process name to display its version number

1 Answers  


ORA-00354: corrupt redo log block header

1 Answers  






PCC-00077: Colon usage with numeric label in WHENEVER statement is not ANSI

1 Answers  


ORA-13251: duplicate entry string in metadata table

1 Answers  


NNL-00542: restart [<server_list>] : restart one or more Names servers

1 Answers  


ORA-14189: this physical attribute may not be specified for an index subpartition

1 Answers  


PCC-00027: Redeclared SQL Identifier "string" at line number in file string

1 Answers  


NNL-00913: Server-generated requests sent: number

1 Answers  


TNS-12611: TNS:operation is not portable

1 Answers  


Categories