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

TNS-00522: Operation was interrupted

1 Answers  


ORA-32809: foreign queue string is already registered

1 Answers  


ORA-24432: The statement that was returned is not tagged.

1 Answers  


ORA-33262: (DBERR01) Analytic workspace string does not exist.

1 Answers  


ORA-36178: (XSAGGR01) To be used with AGGREGATE, AGGMAP workspace object must be declared with the AGGMAP command.

1 Answers  


PCC-02108: UNSAFE_NULL=YES allowed if MODE=ORACLE and DBMS=V7 or V8

1 Answers  


PCC-02334: SQL identifier was not declared as a cursor

1 Answers  


SQL*Loader-00905: Error parsing SQL statement for upi: [number]

1 Answers  


PLS-00634: type with NOT INSTANTIABLE methods must be declared NOT INSTANTIABLE

1 Answers  


PCC-01000: You are not authorized to run Pro*COBOL

1 Answers  


ORA-23494: too many rows for destination "string"

1 Answers  


ORA-02260: table can have only one primary key

1 Answers  


Categories