暂无图片

PCC-02362:Host variable not declared within SQL DECLARE section

错误码

错误描述:Host variable not declared within SQL DECLARE section
错误原因:When MODE=ANSI is specified at precompile time, all host variables must be declared inside Declare Sections. Remember that MODE=ANSI refers to ANSI SQL, not ANSI C.
解决方法:Add the EXEC SQL BEGIN DECLARE SECTION... EXEC SQL END DECLARE SECTION statements around all host variable declarations.

向认证技术专家提问

向技术专家提问

相关搜索
查看更多》