PCC-02354: A file included with #include may not contain SQL
statements



PCC-02354: A file included with #include may not contain SQL statements..

Answer / guest

Cause: The Pro*C Precompiler reads header files referenced
in #INCLUDE directives and uses the values defined in them.
But the precompiler never generates code using statements in
header files, so use of SQL statements in these files is
illegal.

Action: Move the SQL statement(s) into the main body of the
application or use EXEC SQL INCLUDE to check that the
included file is precompiled.

Please add more information about this Error

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

TNS-01001: start [<listener_name>] : start listener

1 Answers  


NNO-00059: cannot construct topology checkpoint file name

1 Answers  


ORA-09803: Allocation of string buffer failed.

1 Answers  


ORA-33218: (CINSERT04) %K is not a valid value for the workspace object dimension. Values for this dimension can have at most number significant digits after rounding to number decimal places.

1 Answers  


PCC-02390: No EXEC SQL CONTEXT USE statement encountered

1 Answers  


ORA-12549: TNS:operating system resource quota exceeded

1 Answers  


ORA-16545: unable to get response

1 Answers  


DRG-10601: failed to remove pending DML for this index

1 Answers  


ORA-30370: set operators are not supported in this context

1 Answers  


ORA-31423: change table string does not contain column string

1 Answers  


ORA-25194: invalid COMPRESS prefix length value

1 Answers  


SQL*Loader-00934: Incorrect data file string specified for table string

1 Answers  


Categories