PLS-00202: type 'string' must be declared Cause: An attempt was made to reference an undefined type. Either the type specifier was not declared or it is not within the scope of the reference. Action: Check the spelling and declaration of the type specifier. Also confirm that the declaration is placed correctly in the block structure.