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

LSX-00026: unknown attribute "~S"

1 Answers  


NNL-00852: Renames refused, name is a topology name: number

1 Answers  


ORA-25296: Queue Table string has a buffered queue string

1 Answers  


ORA-12407: unauthorized operation for policy string

1 Answers  


TNS-12656: Cryptographic checksum mismatch

1 Answers  


KUP-04028: conversion of character length to a number failed

1 Answers  


ORA-26677: Streams downstream capture process string cannot proceed

1 Answers  


DRG-11804: Created

1 Answers  


RMAN-06434: some errors occurred while removing recovery catalog

1 Answers  


ORA-10583: Can not recovery file string renamed as missing during test recovery

1 Answers  


NCR-04012: NCRR: Invalid address descriptor

1 Answers  


ORA-12684: encryption/crypto-checksumming: Diffie-Hellman seed too small

1 Answers  


Categories