象like '%csdn%'之类的查询不会使用该字段上一般的btree索引,可以使用oracle提供的全文检索功能,9i好像称为Text,8i里面叫Intermedia,就可以对这杨的字段建立context类型的索引:
create index idx_jjj on sometable (somecol) indextype is ctxsys.context;
然后用类似如下的语法就行查询:
select count(*) from sometable where contains(somecol,'csdn')>0;
具体可参考9i的Text Reference