Oracle Index hint with UniScript.ScriptText
Posted: Wed 26 Feb 2020 04:45
I'm using dotConnect Universal 3.80.2038.
Why UniScript.ScriptText changing the /*+ to /**+
Exemple:
SELECT /*+ INDEX(EH IDX_HOR_EMPL_DATE) */ ID_R_EMPLHORAIRE
FROM R_EMPLHORAIRE EH
to this
SELECT /**+ INDEX(EH IDX_HOR_EMPL_DATE) */ ID_R_EMPLHORAIRE
FROM R_EMPLHORAIRE EH
This causing that Oracle doesn't use the index hint
Thanks
Why UniScript.ScriptText changing the /*+ to /**+
Exemple:
SELECT /*+ INDEX(EH IDX_HOR_EMPL_DATE) */ ID_R_EMPLHORAIRE
FROM R_EMPLHORAIRE EH
to this
SELECT /**+ INDEX(EH IDX_HOR_EMPL_DATE) */ ID_R_EMPLHORAIRE
FROM R_EMPLHORAIRE EH
This causing that Oracle doesn't use the index hint
Thanks