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

ORA-15183: ASMLIB initialization error [string]

1 Answers  


ORA-02031: no ROWID for fixed tables or for external-organized tables

1 Answers  


PCC-02361: Use of ARRAYLEN with SQL bind arrays is ignored

1 Answers  


ORA-16167: LGWR network server could not switch to non-blocking mode

1 Answers  


ORA-13384: error in network schema: string

1 Answers  






EXP-00018: datatype (number) for column string, table string.string is not supported

1 Answers  


ORA-22616: image is not of Oracle 8.1 format

1 Answers  


ORA-02054: transaction string in-doubt

1 Answers  


PLS-00597: expression 'string' in the INTO list is of wrong type

1 Answers  


ORA-00712: cannot rename system tablespace

1 Answers  


ORA-02199: missing DATAFILE/TEMPFILE clause

1 Answers  


ORA-25297: The message options only make sense for buffered messages

1 Answers  


Categories