强制索引使用

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

posted on 2015-02-14 09:30  烂记性需要烂笔头  阅读(142)  评论(0)    收藏  举报

导航