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-32810: foreign queue string is not registered

1 Answers  


ORA-19909: datafile string belongs to an orphan incarnation

2 Answers  


NNL-00292: Scheduled statistic counters to be reset in string

1 Answers  


ORA-34358: (MXDSS14) number other users reading

1 Answers  


QSM-02067: no partition key or PMARKER or join dependent expression in select list

1 Answers  






ORA-26033: Direct path operation not supported on table with encrypted colum

1 Answers  


ORA-02838: Unable to arm signal handler for the alarm signal

1 Answers  


CLSR-00517: Failed to register a service name

1 Answers  


ORA-01150: cannot prevent writes - file string has online backup set

1 Answers  


PLS-00400: different number of columns between cursor SELECT statement and return value

1 Answers  


TNS-01100: TNS returned error number when attempting to start the listener

1 Answers  


KUP-02000: wrong message file version (msg number not found)

1 Answers  


Categories