PLS-00314: TABLE declarations are not allowed as PL/SQL
local variables
Answer / guest
Cause: In a precompiled program, the DECLARE TABLE statement
was mistakenly used inside an embedded PL/SQL block. If an
embedded PL/SQL block refers to a database table that does
not yet exist, use the DECLARE TABLE statement to tell the
precompiler what the table will look like. However, DECLARE
TABLE statements are allowed only in the host program.
Action: Move the DECLARE TABLE statement outside the
embedded PL/SQL block. If you want a variable that can store
an entire row of data selected from a database table or
fetched from a cursor or cursor variable, use the %ROWTYPE
attribute.
Please add more information about this Error
| Is This Answer Correct ? | 0 Yes | 0 No |
ORA-07552: sftget: $GET failure
ORA-31450: invalid value for change_table_name
KUP-03006: error initializing handle for character set string
ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
QSM-01021: materialized view, string, not found in the hint list
ORA-25000: invalid use of bind variable in trigger WHEN clause
ORA-31020: The operation is not allowed, Reason: string
ORA-23495: serial propagation can not be used for "string"
ORA-28112: failed to execute policy function
ORA-29506: invalid query derived from USING clause
AMD-00147: invalid Custom Measure creation mode "string" specified
RMAN-06010: error while looking up datafile: string