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 |
NNO-00800: Error: cannot read version from config database
ORA-38767: flashback retention target parameter mismatch
IMG-00711: unable to set properties of destination image
NZE-28861: SSL connection would block
ORA-08447: syntax error in USAGE clause in mask options
PLS-00165: call statement is not supported in PL/SQL
DRG-10510: stopword is missing
UDE-00016: 'string' parameter requires a value.
TNS-12532: TNS:invalid argument
RMAN-08114: channel string: restoring SPFILE to PFILE
ORA-10633: No space found in the segment
SQL*Loader-00431: illegal NULLIF or DEFAULTIF clause specified for nested table column string