代码改变世界

随笔档案-2010年4月27日

Oracle的CONNECT BY LOOP我自己使用的数据。关于where 跟join.

2010-04-27 17:35 by Tracy., 476 阅读, 收藏,
摘要: create table test1(superid varchar2(20),id varchar2(20));insert into test1 values('0','1');insert into test1 values('0','2');insert into test1 values('1','11');insert into test1 values('1','12');inser... 阅读全文

转:Oracle中CONNECT BY LOOP的使用.非常不错

2010-04-27 17:30 by Tracy., 1864 阅读, 收藏,
摘要: CONNECT BY LOOPA loop in user data generates an �ORA-01436: CONNECT BY loop in user data� error. A loop is defined in the Oracle Database SQL Language Reference (11.1) documentation as:A loop occurs i... 阅读全文

转:Oracle索引使用规则

2010-04-27 08:56 by Tracy., 1270 阅读, 收藏,
摘要: 逻辑上:   Single column 单行索引  Concatenated 多行索引  Unique 唯一索引  NonUnique 非唯一索引  Function-based函数索引  Domain 域索引物理上:  Partitioned 分区索引  NonPartitioned 非分区索引  B-tree:  Normal 正常型B树  Rever Key 反转型B树  Bitmap 位... 阅读全文