随笔分类 -  ORACLE

摘要:http://hi.baidu.com/djx_5211314/blog/item/497298545065391c3b2935e9.html众所周知的几个结果集集合操作命令,今天详细地测试了一下,发现一些问题,记录备考。假设我们有一个表Student,包括以下字段与数据:drop table student;create table student(id int primary key,name... 阅读全文
posted @ 2008-04-28 11:45 jambol 阅读(6920) 评论(0) 推荐(0)
摘要:http://www.oracle.com.cn/viewthread.php?tid=106665&highlight=withOracle9i新增了WITH语法功能,可以将查询中的子查询命名,放到SELECT语句的最前面。 下面看一个简单的例子:SQL> WITH2 SEG AS (SELECT SEGMENT_NAME, SUM(BYTES)/1024 K FROM USER_... 阅读全文
posted @ 2008-04-24 14:21 jambol 阅读(352) 评论(0) 推荐(0)
摘要:http://hi.baidu.com/%D3%C5%D3%CE%D7%D4%B5%C3/blog/item/512586f7b4c1e521720eecf9.html 2007-10-27 20:26 近段时间很多网友提出监听配置相关问题,客户终端(Client)无法连接服务器端(Serve... 阅读全文
posted @ 2008-04-16 11:55 jambol 阅读(500) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/pharaohsprince/archive/2006/12/07/1434091.aspx 第一部分、SQL&PL/SQL [Q]怎么样查询特殊字符,如通配符%与_ [A]select * from table where name like 'A_%' escape '' [Q]如何插入单引号到数据库表中 [A]可以用ASCII码处理,其它特殊字符如... 阅读全文
posted @ 2008-03-11 12:14 jambol 阅读(520) 评论(0) 推荐(0)
摘要:1、加入OTL4.H头文件; 2、OCI.LIB文件的生成。由于ORACLE9I中只提供了VISUAL C++的OCI.LI,所以必须重新生成BCB的LIB文件,在OTL的论坛上找到以下方法: I got it working now. I found out, that I needed to re-import the oci.dll for use with C++ Builder as ... 阅读全文
posted @ 2008-01-03 17:01 jambol 阅读(527) 评论(0) 推荐(0)
摘要:http://hi.baidu.com/yunfanleo/blog/item/fa65fcfd91916346d7887d25.html PL/SQL Developer PL/SQL Developer是一个集成开发环境,专门面向Oracle数据库存储程... 阅读全文
posted @ 2008-01-03 00:34 jambol 阅读(929) 评论(0) 推荐(0)
摘要:http://hi.baidu.com/maimouse/blog/item/63a63c3e66c3103f71cf6c1a.html 以下的技巧只针对PL/SQL Developer 6以上版本,版本5只有其中的部分特性。 1,右键菜单 在PL/SQL Developer(下面简称PLD)中的每一个文本编辑窗口,如SQL Window,Command Window和Porgram Window... 阅读全文
posted @ 2008-01-03 00:28 jambol 阅读(3862) 评论(0) 推荐(0)
摘要:http://hi.baidu.com/jackyljlj/blog/item/860b020f912df6296159f37b.html pl/sql developer:功能强,方便,快。用了之后绝对离不开它! 它的主要强项如下: 一.编辑表数据(浏览表数数据自然不在话下) 二.在sql plus下写长的语句时是否有些心烦,在这里一样搞定。 三.写存储过程,并调试。如果世界上没... 阅读全文
posted @ 2008-01-03 00:24 jambol 阅读(1032) 评论(0) 推荐(0)