摘要: create index ind on t(col1 ,0)likgui 说的方案可以。 下面是我的实验过程。建两个表,test表在CNT列上做了一个NULL的索引,testX表则CNT列上没有定义索引。当同是执行 “where cnt is not null”条件时,test走了索引,而textX走的是全表扫描。select * from testX where cnt is not nullselect * from test where cnt is not null【建表】-- Create tablecreate table TEST(IDNUMBER,CNT NUMBER,C1VA 阅读全文
posted @ 2012-08-04 17:17 赤狐(zcm123) 阅读(710) 评论(0) 推荐(0) 编辑