当前位置:操作系统 > Unix/Linux >>

嵌入表里插入数据和修改嵌入表的数据

请问在oracle9i里,怎样想嵌入表里插入数据和修改嵌入表的数据,谢谢,我摸索了好长时间,不得门道。oracle8i的参考书里的语句在oracle9i行不通,请各位指点。

  create table test(a varchar2(10), b nested_tab_test) nested table b store as test1;

  首先要插入一个空的嵌套表类型值。

  insert into test(a,b) values("aaa",nested_tab_test());

  插入具体值

  insert into table (select b from test where a="aaa") values("a01本文来自:http://doc.xiaoyaxiao.com/79459.html
发表您的高见!
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,