oralce视图添加hint
作者:互联网
/* Formatted on 2019/8/6 下午 02:51:21 (QP5 v5.163.1008.3004) */ SELECT DB FROM ( SELECT /*+ index(A.r_wip_21 IX_R_WIP_21_WIP_NO) index(A.r_wip_22 IX_R_WIP_22_WIP_NO) index(A.r_wip_23 IX_R_WIP_23_WIP_NO) index(A.r_wip_24 IX_R_WIP_24_WIP_NO) index(A.r_wip_25 IX_R_WIP_25_WIP_NO)*/ A.DB, A.EDIT_DATE FROM DMPDB2.R_WIP_SUM A WHERE A.WIP_NO = :B1 ORDER BY A.EDIT_DATE DESC) WHERE ROWNUM <= :B2
视图名.表名 索引名
标签:index,oralce,21,NO,hint,WIP,视图,IX,wip 来源: https://www.cnblogs.com/monkey6/p/11308928.html