暂无图片

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

错误码

错误描述:A file included with #include may not contain SQL statements
错误原因: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.
解决方法: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.

向认证技术专家提问

向技术专家提问

相关搜索
查看更多》