📜  oracle 数组 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.609000             🧑  作者: Mango

代码示例1
declare
   type array_t is varray(3) of varchar2(10);
   array array_t := array_t('Matt', 'Joanne', 'Robert');
begin
   for i in 1..array.count loop
       dbms_output.put_line(array(i));
   end loop;
end;