1。
create or replace package bompackage as
type bb is record(deptname varchar2,deptnumber integer);
type zz is table of bb index by binary_integer;
procedure kk (dd IN OUT zz);
end bomPackage;
/
create or replace package body bompackage as
procedure kk (dd IN OUT zz)
is
begin
dd(1).deptname := 'name';
dd(1).deptnumber := 1;
end kk;
end bompackage;
/
2。ora8i支持在表结构中使用自定义类型,比如记录类型