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 |
EXP-00068: tablespace string is offline
ORA-12677: Authentication service not supported by database link
ORA-39023: Version string is not supported.
ORA-29392: cpu parameters for level string for plan string must be zero
ORA-28530: Heterogeneous Services initialization error in NLS language ID
ORA-01220: file based sort illegal before database is open
RMAN-00550: parser package failed to load
ORA-19904: test recovery not allowed for datafile string
ORA-16025: parameter string contains repeated or conflicting attributes
NID-00403: DBNEWID - Completed with validation errors.
RMAN-06727: could not locate datafilecopy string
ORA-13139: could not obtain column definition for string