PLS-00994: Cursor Variables cannot be declared as part of a
package



PLS-00994: Cursor Variables cannot be declared as part of a package..

Answer / guest

Cause: An attempt was made to declare a cursor variable in a
package specification, which is not allowed. Although REF
CURSOR types can be defined in a PL/SQL block, subprogram,
or package, cursor variables can be declared only in a block
or subprogram.

Action: Move the cursor variable declaration into a PL/SQL
block or subprogram.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-21503: program terminated by fatal error

1 Answers  


ORA-01771: illegal option for a clustered table

1 Answers  


ORA-01077: background process initialization failure

1 Answers  


ORA-14329: domain index [sub]partitions cannot be renamed in this clause

1 Answers  


KUP-04022: field start is before start of record

1 Answers  


ORA-33920: (MAKEDCL34) The string SURROGATE must have one of the following data types: ID, NTEXT, TEXT, NUMBER, or INTEGER.

1 Answers  


RMAN-06588: number of patterns (number) to DB_FILE_NAME_CONVERT should be even

1 Answers  


ORA-00165: migratable distributed autonomous transaction with remote operation is not allowed

1 Answers  


ORA-13197: element string.string.string is out of range

1 Answers  


ORA-22131: hexadecimal string length is zero

1 Answers  


KUP-00554: error encountered while parsing access parameters

1 Answers  


TNS-00010: Error while flushing NS context

1 Answers  


Categories