aiaiDBA

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

13718043309

010-86462881

PCC-00083: Bind and define variables not allowed in CREATE statement

PCC-00083: Bind and define variables not allowed in CREATE statement
Cause: Host variables cannot appear in a CREATE statement. If the makeup of a CREATE statement cannot be known until run time, a dynamic SQL statement must be used to execute it. That is, the program must accept or build the CREATE statement at run time, store it in a host string, then EXECUTE it.
Action: Correct or remove the erroneous CREATE statement.

请先 登录 后评论

1 个回答

小智
PCC-00083:绑定和定义CREATE语句中不允许的变量,
.原因:主机变量不能出现在CREATE语句中。如果在运行时不能知道CREATE语句的构成,则必须使用动态SQL语句来执行它。也就是说,程序必须在运行时接受或构建CREATE语句,将其存储在主机字符串中,然后执行EXECUTE。,
.操作:更正或删除错误的CREATE语句。,
.
请先 登录 后评论