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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

NZE-28890: Entrust Login Failed

1585


ORA-26029: index string.string partition string initially in unusable state

1910


IMP-00064: Definition of LOB was truncated by export

6120


ORA-26030: index string.string had string partitions made unusable due to:

1715


ORA-16627: No standby databases support the overall protection mode.

3743






[ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) Unsuccessful: alter table user.CEN_USER_MASTER add constraint FKF4EDEDC3D0BAAE75 foreign key (ROLE_ID) references user.CEN_ROLE_MASTER [ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) ORA-02275: such a referential constraint already exists in the table

2510


IMP-00070: Lob definitions in dump file are inconsistent with database.

1468


ORA-26095: unprocessed stream data exists

3224


How to resolve QSM-01108 error. I have no OR conditions in my query, but do have 9 IN conditions. The error says the max limit is 2 while I have 257 number of disjuncts. However, if I remove even a single IN condition, the query is rewritten. I cannot change my query. How can I resolve this issue?

2501


In my project I am using star schema and only diimension tables are loaded and not fact tables any one can help me why it is happening? Plase guide me.

2539


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

3103


if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires

2427


ORA-26032: index string.string loading aborted after string keys

1830


IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier

2492


RMAN-05017: no copy of datafile number found to recover

2150