PCC-02354: A file included with #include may not contain SQL
statements

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

ORA-26094: stream format error: input column overflow

2232


ORA-26079: file "string" is not part of table string.string

1501


ORA-16627: No standby databases support the overall protection mode.

3531


IMP-00060: Warning: Skipping table "string"."string" because object type "string"."string" does not exist or has different identifier

2603


IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created

1223






ORA-07497: sdpri: cannot create trace file 'string'; errno = string.

2299


when i ran any workflow or session, getting below error: seesion task instance[s_xxx]: Execution terminated unexpecterdly

1735


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

2840


IMP-00070: Lob definitions in dump file are inconsistent with database.

1269


IMG-02003: 2FF03 - incorrect color histogram feature specification

1187


IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier

2283


RMAN-05017: no copy of datafile number found to recover

1854


In my project I am using star schema and only diimension tables are loaded and not fact tables any one can help me why it is happening? Plase guide me.

2316


IMP-00064: Definition of LOB was truncated by export

5865


ORA-16626: failed to enable specified object

1751