【发布时间】:2019-03-19 08:38:07
【问题描述】:
通常我这样填充数组:
TYPE name_options IS VARRAY(6) OF VARCHAR2(300);
dd_name_options_c name_options;
dd_name_options_c := name_options(string1, string2, string3, string4);
但是如果我有两个生成字符串的块并且我想将所有字符串保存到一个数组中:
-- Block 1
....
dd_name_options_c := name_options(string1, string2, string3, string4);
....
-- Block 2
....
dd_name_options_c := name_options(string5, string6);
所以,最后,数组将包含 6 个字符串: 字符串1、字符串2、字符串3、字符串4、字符串5、字符串6
我该怎么做?
【问题讨论】:
标签: oracle plsql user-defined-types