文章分类 -  Oracle

Oracle技术文章
摘要:select po.pid as PID,max(po.ordercode) as ORDERCODE,max(po.supplierid) as SUPPLIERID,max(s.name) as SUPPLIERNAME,max(po.ordertype) as ORDERTYPE,max(po... 阅读全文
posted @ 2012-03-15 11:19 一只小鸟 阅读(122) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-12-31 16:16 一只小鸟 阅读(4) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-12-20 15:43 一只小鸟 阅读(6) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-12-16 14:41 一只小鸟 阅读(1) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-12-16 14:39 一只小鸟 阅读(2) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-12-07 13:32 一只小鸟 阅读(5) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-11-23 10:48 一只小鸟 阅读(6) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-11-09 15:28 一只小鸟 阅读(15) 评论(0) 推荐(0)
摘要:表:b_Atestcreate table b_Atest(testA int,testB nvarchar2(100),testC nvarchar2(100))表:b_Btestcreate table b_Btest(textA int ,testA int ,textC nvarchar2(100),textD nvarchar2(100))数据源:select * from b_Atestinsert into b_Atest(testA,testB,testC) values(1,'B1','C1');insert into b_Atest(test 阅读全文
posted @ 2011-10-31 17:32 一只小鸟 阅读(226) 评论(0) 推荐(0)
摘要:如和将oracle中表中的数据按照格式输出如下:学号 姓名 年龄 性别 出生日期 移动电话 电子邮件1111 xxx 3 女 1986-01-08 12345678901 qq@126.com语句:create or replace procedure aaisbegin dbms_output.put_line('学号 姓名 年龄 性别 出生日期 移动电话 电子邮件');FOR C IN (select 学号,姓名,年龄, 性别 ,出生日期 , 移动电话,电子邮件 FROM ABC)LOOP dbms_output.put_line(C.学号... 阅读全文
posted @ 2011-10-31 16:18 一只小鸟 阅读(829) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2011-10-31 15:26 一只小鸟 阅读(11) 评论(0) 推荐(0)