博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2007年7月6日

摘要: Create Table henry_test (a varchar2(10),b int);Insert Into henry_test values ('aa',1);Insert Into henry_test values ('bb',1);Insert Into henry_test values ('cc',1);Insert Into henry_test values ('dd',... 阅读全文

posted @ 2007-07-06 11:22 徐正柱- 阅读(389) 评论(0) 推荐(0) 编辑

摘要: <一>.单自定义类型的应用1.创建一个数据类型create type t_air as object(id int ,name varchar(20));2.建表create table aaa(id int ,person t_air);3.入数据insert into aaa values(1,t_air(1,'23sdf'));4.询classPlaceselect a.id ,a.persion.id,a.person.name from aaa a;<二>.多维数组declare type rec_name is record(lastname 阅读全文

posted @ 2007-07-06 10:32 徐正柱- 阅读(806) 评论(0) 推荐(0) 编辑