比如元素类型为int的一维数值,可用
1. create or replace type type1 is varray(100) of int;
2. create or replace type type1 is table of int;
二者都可以作为type对象保存的数据库中,都需要构造器。
只是:
table 的元素是无序排列,适合大型集合, ...
↧