aiaiDBA

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

13718043309

010-86462881

PCB-00579: Invalid ARRAYLEN length variable type for "string"

PCB-00579: Invalid ARRAYLEN length variable type for "string"
Cause: A valid table dimension was not specified in an ARRAYLEN statement. The table dimension must be specified using a previously declared 4-byte integer host variable, not a literal or expression. For example, the offending code might look like: EXEC SQL ARRAYLEN ETABLE (25) END-EXEC. -- illegal dimension
Action: Supply a valid table dimension. If necessary, declare a 4-byte integer host variable for use in the ARRAYLEN statement.

请先 登录 后评论

1 个回答

小智
PCB-00579:ARRAYLEN长度变量类型为“ string ”,
.原因:在ARRAYLEN语句中未指定有效的表维。表维度必须使用先前声明的4字节整数主机变量来指定,而不是字面或表达式。例如,违规代码可能如下所示:EXEC SQL ARRAYLEN ETABLE(25)END-EXEC。 - 非法维度,
.操作:提供有效的表格维度。如果需要,声明一个4字节的整数主机变量用于ARRAYLEN语句。,
.
请先 登录 后评论