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-12838: cannot read/modify an object after modifying it in parallel
ORA-25306: Queue table string has buffered queues. Cannot alter
ORA-02875: smpini: Unable to get shared memory for PGA
PLS-00148: Only 1 pragma of this type is allowed per subprogram
ORA-25100: TABLESPACE option can only be used with ALTER INDEX REBUILD
ORA-00200: controlfile could not be created
ORA-37044: (XSACQUIRE_OLDGEN) Cannot acquire object workspace object without resync.
ORA-00275: media recovery has already been started
ORA-01347: Supplemental log data no longer found
ORA-19769: missing FILE keyword
ORA-25158: Cannot specify RELY for foreign key if the associated primary key is NORELY
ORA-28291: No Kerberos Principal Value found.