PLS-00204: function or pseudo-column 'string' may be used
inside a SQL statement only
Answer / guest
Cause: A pseudocolumn or proscribed function was used in a
procedural statement. The SQL pseudocolumns (CURRVAL, LEVEL,
NEXTVAL, ROWID, ROWNUM) can be used only in SQL statements.
Likewise, certain functions such as DECODE, DUMP, and VSIZE
and the SQL group functions (AVG, MIN, MAX, COUNT, SUM,
STDDEV, VARIANCE) can be used only in SQL statements.
Action: Remove the pseudocolumn reference or function call
from the procedural statement. Or, replace the procedural
statement with a SELECT INTO statement; for example, replace
bonus := DECODE(rating, 1, 5000, 2, 2500, ...); with the
following statement: SELECT DECODE(rating, 1, 5000, 2, 2500,
...) INTO bonus FROM dual;
Please add more information about this Error
| Is This Answer Correct ? | 3 Yes | 0 No |
ORA-16205: DDL skipped due to skip setting
ORA-12674: Shared server: proxy context not saved
ORA-14191: ALLOCATE STORAGE may not be specified for Composite Range partitioned object
RMAN-03000: recovery manager compiler component initialization failed
ORA-06401: NETCMN: invalid driver designator
PCC-02396: Illegal use of arrays inside an array of structs
DRG-11301: error while indexing document
ORA-09883: Two Task interface: oratab file does not exist
ORA-24016: cannot create QUEUE_TABLE, user string does not have execute privileges on QUEUE_PAYLOAD_TYPE string.string
ORA-13408: invalid blockSize storage parameter
RMAN-00566: could not open TRACE "string"
ORA-31182: Too many PL/SQL DOM handles specified