PLS-00488: invalid variable declaration: object 'string'
must be a type or subtype
Answer / guest
Cause: The datatype specifier in a variable declaration does
not designate a legal type. For example, the %TYPE attribute
might not have been added to a declaration, as in DECLARE
my_sal emp.sal%TYPE; my_ename emp.ename; -- missing %TYPE
... When declaring a constant or variable, to provide the
datatype of a column automatically, use the %TYPE attribute.
Likewise, when declaring a record, to provide the datatypes
of a row automatically, use the %ROWTYPE attribute.
Action: Make sure the datatype specifier designates a legal
type. Remember to use the %TYPE and %ROWTYPE attributes when
necessary.
Please add more information about this Error
| Is This Answer Correct ? | 0 Yes | 2 No |
ORA-16213: ddl encountered, stopping apply engine
ORA-15197: suppressing string additional ASM messages
ORA-30646: schema for external table type must be SYS
ORA-00370: potential deadlock during kcbchange operation
ORA-00356: inconsistent lengths in change description
PCC-02379: Cannot equivalence National Language character variables
ORA-00350: log string of instance string (thread string) needs to be archived
ORA-26514: object 'string.string' not found
KUP-04024: field end is before field start
NNL-00288: No cache flush currently scheduled
ORA-12224: TNS:no listener
PCC-02311: cannot have VARCHAR bit fields