PLS-00488: invalid variable declaration: object 'string'
must be a type or subtype



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

Post New Answer

More Oracle Errors Interview Questions

ORA-09756: osnpns: no port in the name server.

1 Answers  


ORA-28292: No Domain Policy registered for Kerberos based authentication

1 Answers  


ORA-19661: datafile string could not be verified

1 Answers  


ORA-07205: slgtd: time error, unable to obtain time.

1 Answers  


PLS-00370: OTHERS handler must be last among the exception handlers of a block

1 Answers  


QSM-00800: the specified workload name string is invalid

1 Answers  


ORA-24901: handles belonging to different environments passed into an OCI call

1 Answers  


NNO-00703: checkpoint interval changed to number seconds

1 Answers  


ORA-36673: (XSDPART11) Use simple leaf values to identify concat dimension values in a VALUES LESS THAN clause, rather than the <LEAF: VALUE> format.

1 Answers  


ORA-09217: sfsfs: failed to resize file

1 Answers  


CLSS-02200: Received node deletion request for active node string.

1 Answers  


ORA-19736: can not plug a tablespace into a database using a different national character set

1 Answers  


Categories