如何使用強制索引

[复制链接]
查看11 | 回复4 | 2009-7-22 09:30:00 | 显示全部楼层 |阅读模式
table name : tberp_prdtn_progress
indx name: IXERP_PRDTN_PROGRESS_4
我現在想使用強制索引 IXERP_PRDTN_PROGRESS_4
,請問語法是怎麼樣的呢
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
hint : index(tablename,indexname);
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
select /*+index( table_aliasIXERP_PRDTN_PROGRESS_4) */
from tberp_prdtn_progress table_alias
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
謝謝pingshx,rollingpig
現在可以了...
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
我也学习了,也谢一下~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行