强制索引使用

时间:2015-02-14 09:52:09   收藏:0   阅读:104
update /*+INDEX(BIPOSINFOTB,PK_BIPOSINFOTB)*/ BIPOSINFOTB
set  pos_chk_stat=0, last_mode_time=20150212205655 
where (((pos_code=85301232 and pos_stat=0) and pos_merchant=16053112270) and pos_chk_stat=0) ;
 
select  /*+INDEX(BIPOSINFOTB,PK_BIPOSINFOTB)*/  * from BIPOSINFOTB
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!