aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PCC-00118: Use of host variable initialization not supported by ANSI SQL

PCC-00118: Use of host variable initialization not supported by ANSI SQL
Cause: An Oracle extension to the ANSI/ISO SQL standard was used. Specifically, a host variable was initialized in its declaration, as shown in the following Pro*C example: EXEC SQL BEGIN DECLARE SECTION; int dept_number = 20; -- not ANSI/ISO-compliant EXEC SQL END DECLARE SECTION; This informational message is issued by the FIPS Flagger when FIPS=YES.
Action: No action required. However, for ANSI/ISO compliance, do not initialize host variables in their declarations.

请先 登录 后评论

1 个回答

小智
PCC-00118:使用ANSI SQL不支持的主机变量初始化,
.原因:使用了ANSI / ISO SQL标准的Oracle扩展。具体来说,主机变量在其声明中初始化,如以下Pro * C示例所示:EXEC SQL BEGIN DECLARE SECTION; int dept_number = 20; - 不符合ANSI / ISO标准EXEC SQL END DECLARE SECTION; 当FIPS = YES时,该信息消息由FIPS Flagger发出。,
.行动:无需采取行动。但是,对于符合ANSI / ISO的规定,请勿在其声明中初始化主机变量。,
.
请先 登录 后评论