aiaiDBA

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

13718043309

010-86462881

PCB-00578: Variable "string" must be a table

PCB-00578: Variable "string" must be a table
Cause: In an ARRAYLEN statement, the name of a previously declared host table was not specified. The first host variable in an ARRAYLEN statement must be a table. The second host variable, which specifies an array dimension, must be a 4-byte integer. The correct syntax follows: EXEC SQL ARRAYLEN HTABLE (DIM) END-EXEC. The ARRAYLEN statement must appear along with, but somewhere after, the declarations of host_table and dimension.
Action: Check the spelling of both identifiers in the ARRAYLEN statement. If necessary, supply the missing host table name.

请先 登录 后评论

1 个回答

小智
PCB-00578:变量“ string ”必须是表,
.原因:在ARRAYLEN语句中,未指定先前声明的主机表的名称。ARRAYLEN语句中的第一个主机变量必须是一个表。指定数组维度的第二个主机变量必须是一个4字节的整数。正确的语法如下:EXEC SQL ARRAYLEN HTABLE(DIM)END-EXEC。ARRAYLEN语句必须与host_table和dimension的声明一起出现,但在某个地方。,
.操作:检查ARRAYLEN语句中两个标识符的拼写。如有必要,请提供缺少的主机表名称。,
.
请先 登录 后评论