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-12708: error while loading create database NLS parameter string
ORA-32019: The parameter SPFILE cannot be updated in the server parameter file.
EXP-00015: error on row number of table string, column string, datatype number
PCC-02343: body of cursor must be a query expression
DRG-50702: error in drtlsleep()
ORA-32502: Cannot execute command. Flash Freeze is not in effect
PLS-00733: RPCs to variable argument functions are not allowed
ORA-29870: specified options are only valid for altering a domain index
DRG-50921: EQUIV operand not a word or another EQUIV expression
QSM-02142: COUNT(*) is not present in the select list
ORA-31605: the following was returned from string in routine string: LPX-number: string
ORA-28035: Cannot Get Session Key for Authentication