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 |
ORA-15183: ASMLIB initialization error [string]
ORA-02031: no ROWID for fixed tables or for external-organized tables
PCC-02361: Use of ARRAYLEN with SQL bind arrays is ignored
ORA-16167: LGWR network server could not switch to non-blocking mode
ORA-13384: error in network schema: string
EXP-00018: datatype (number) for column string, table string.string is not supported
ORA-22616: image is not of Oracle 8.1 format
ORA-02054: transaction string in-doubt
PLS-00597: expression 'string' in the INTO list is of wrong type
ORA-00712: cannot rename system tablespace
ORA-02199: missing DATAFILE/TEMPFILE clause
ORA-25297: The message options only make sense for buffered messages