【发布时间】:2019-03-20 13:07:11
【问题描述】:
第一次在 plsql 中使用集合。
嵌套表声明:
TYPE nt_orders IS TABLE OF NUMBER
INDEX BY BINARY_INTEGER;
nt_invc_orders nt_orders;
我在哪里使用member of
IF( 12345 member of nt_orders) THEN
nt_scb_temp_objects(i).invc_ref := p_invc_ref;
END IF;
注意:目前,我已输入 12345 作为我的搜索,实际上这将是一个变量(数字类型)存储值。
错误:PLS-00330:类型名称或子类型名称的使用无效
【问题讨论】: