贤人必须成人,成人才能达己.

共同进步

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  49 随笔 :: 1 文章 :: 10 评论 :: 0 引用

06 2008 档案

摘要: 今天在连接Oracle的时候碰到一个问题,我的机器装的是Oracle9.2客户端,当在asp.net应用中使用数据访问的组件(调用System.Data.OracleClient)时,程序报“System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater”的错误,...阅读全文
posted @ 2008-06-22 18:50 adi 阅读(100) | 评论 (0) 编辑

摘要: 今天,从上周就捆饶我的问题终于在下班前被我搞定!小得意了一下. 我的电脑上之前安装了Oracle10g database,配置完变量用PL/SQL操作一切OK .当又安装完Oracle10g client后,问题出现了,用PL/SQL登陆时反复提示:ORA-12154: TNS: could not resolve the connect identifier specified 对于初学者,我反...阅读全文
posted @ 2008-06-22 14:30 adi 阅读(4325) | 评论 (5) 编辑

摘要: declare @id nvarchar(20) --定义变量来保存ID号declare @A float --定义变量来保存值declare mycursor cursor for select * from tb_c --为所获得的数据集指定游标open mycursor --打开游标fetch next from mycursor into @id,@A --开始抓第一条数据while(@@...阅读全文
posted @ 2008-06-19 20:43 adi 阅读(660) | 评论 (0) 编辑

摘要: select c0,sum(c1) as c1,sum(c2) as c2 from (select c0,sum(c1) as c1,0 as c2 from t1 group by c0union select c0,0 as c1 ,sum(c2) as c2 from t1 group by c0) c group by c0阅读全文
posted @ 2008-06-18 16:17 adi 阅读(49) | 评论 (0) 编辑

posted @ 2008-06-08 17:28 adi 阅读(2652) | 评论 (3) 编辑

posted @ 2008-06-08 15:10 adi 阅读(76) | 评论 (0) 编辑

posted @ 2008-06-08 15:09 adi 阅读(1049) | 评论 (0) 编辑

posted @ 2008-06-03 11:05 adi 阅读(963) | 评论 (0) 编辑