ORA-24374: define not done before fetch or execute and fetch

Answers were Sorted based on User's Feedback



ORA-24374: define not done before fetch or execute and fetch..

Answer / guest

Cause: The application did not define output variables for
data being fetched before issuing a fetch call or invoking a
fetch by specifying a non-zero row count in an execute call.

Action: Issue OCI define calls for the columns to be fetched.

Please add more information about this Error

Is This Answer Correct ?    6 Yes 3 No

ORA-24374: define not done before fetch or execute and fetch..

Answer / guest

Make sure you're not forgetting to call oci_execute function
before fetching your results (eg. queries inside cycles, etc.)

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Oracle Errors Interview Questions

ORA-30757: cannot access type information

1 Answers  


ORA-18000: invalid outline name

1 Answers  


PCC-02066: CMD-LINE: Could not find or could not open system config file

1 Answers  


ORA-31424: change table has active subscriptions

1 Answers  


KUP-04103: error converting zoned decimal field to number for string

1 Answers  






RMAN-08099: specifying standby controlfile for proxy backup

1 Answers  


ORA-33016: (XSAGDNGL07) In AGGMAP workspace object, workspace object is not a valid operator or variable name.

1 Answers  


ORA-13340: a point geometry has more than one coordinate

1 Answers  


DRG-11125: invalid format of existing log file string

1 Answers  


DRG-11823: Not Found

1 Answers  


PLS-00647: attribute by name "string" conflicts with method by same name

1 Answers  


ORA-02284: duplicate INCREMENT BY specifications

1 Answers  


Categories