Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

IMG-00541: invalid contentFormat specified

1 Answers  


ORA-14124: duplicate REVERSE clause

1 Answers  


ORA-01616: instance string (thread string) is open - cannot disable

1 Answers  


ORA-30113: error when processing file 'string'

1 Answers  


ORA-01344: LogMiner coordinator already attached

1 Answers  






ORA-25277: cannot grant or revoke object privilege on release 8.0 compatible queues

1 Answers  


ORA-06422: NETCMN: Error in sending data

1 Answers  


ORA-02195: Attempt to create string object in a string tablespace

1 Answers  


TNS-12601: TNS:information flags check failed

1 Answers  


RMAN-06599: tablespace string is not read-only

1 Answers  


KUP-04078: invalid file name specified: string

1 Answers  


QSM-01004: no query rewrite before view merging

1 Answers  






Categories