Posted on 2013-04-27 17:05
xcp 閱讀(1722)
評論(0) 編輯 收藏 所屬分類:
Database
create index I_INFO_CLASSID on b_info(CLASSID);
create index I_INFO_CLASSID_REVERSE on b_info(reverse(CLASSID));
analyze table b_info compute statistics for table for all indexes;
--都使用索引
select * from b_info where classid like '1E92C5409E99484%';
--都使用索引
select * from b_info where reverse(classid) like reverse('%33B27');
名稱: ?4C.ESL | .↗Evon
口號: 遇到新問題?先要尋找一個方案乄而不是創造一個方案こ
mail: 聯系我