PLS-00231: function 'string' may not be used in SQL
Answer / guest
Cause: A proscribed function was used in a SQL statement.
Certain functions such as SQLCODE and SQLERRM can be used
only in procedural statements.
Action: Remove the function call from the SQL statement. Or,
replace the function call with a local variable. For
example, the following statement is illegal: INSERT INTO
errors VALUES (SQLCODE, SQLERRM); However, you can assign
the values of SQLCODE and SQLERRM to local variables, then
use the variables in the SQL statement, as follows: err_num
:= SQLCODE; err_msg := SQLERRM; INSERT INTO errors VALUES
(err_num, err_msg);
Please add more information about this Error
| Is This Answer Correct ? | 0 Yes | 1 No |
ORA-16755: failed to set initialization parameter
LPX-00115: element "~1S" is missing required attribute "~2S"
ORA-22862: specified object identifier doesn't match existing object identifier
TNS-00108: TNS_ADMIN not defined
ORA-32108: max column or parameter size not specified
NID-00350: string (number) string
PLS-00536: Navigation through REF variables is not supported in PL/SQL.
ORA-09909: Malloc of scratch buffer failed.
RMAN-06161: error when inspecting auxiliary filename: string
ORA-00449: background process 'string' unexpectedly terminated with error string
SQL*Loader-00119: Invalid parallel file (data file) name on command line
DRG-11104: Oracle Text error: