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-13631: The task string contains no execution results.

1 Answers  


ORA-06757: TLI Driver: server got bad command

1 Answers  


TNS-12685: Native service required remotely but disabled locally

1 Answers  


LPX-00255: XML standalone declaration must be "yes" or "no"

1 Answers  


IMG-00582: output format does not support the specified interleave

1 Answers  






ORA-03200: the segment type specification is invalid

1 Answers  


ORA-01161: database name string in file header does not match given name of string

2 Answers  


ORA-02184: resource quotas are not allowed in REVOKE

1 Answers  


NPL-00312: attempt to put ASN.1 "UNIV" type with illegal tag string

1 Answers  


ORA-01595: error freeing extent (string) of rollback segment (string))

1 Answers  


ORA-31455: nothing to ALTER

1 Answers  


IMG-00856: adjacency matrix free failed

1 Answers  


Categories