SQL> insert into new_table
SQL> values(1,new_type(1,2,3,4,5,6,7,8,9,10));1 row insertedSQL> commit;Commit completeSQL> select * from new_table; A B
--------------------------------------- -
1 <
1 <
1 <
SQL> values(1,new_type(1,2,3,4,5,6,7,8,9,10));1 row insertedSQL> commit;Commit completeSQL> select * from new_table; A B
--------------------------------------- -
1 <
1 <
1 <
2 /
类型已创建
SQL> create table new_table(a integer, b new_tpye);
表已创建
SQL> insert into new_table values (1,new_tpye(1,2,3,4,5,6,7,8,9,10));
已创建 1 行写上类型名(值....) 就行
--------------------------------------- ------------
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 1010 rows selected