Quote:
Originally posted by jmodic
Yes, you should use /*+ ... */ if you want the hint to realy be a hint to database engine.
Your explain plan probably didn't show any difference as the provided syntax for the hint was wrong (there might be other reasons, though), so Oracle treated it as a normal comment. The correct syntax is:
SELECT /*+ INDEX(table_name index_name) */ .....
Note that there is no comma between table name and index name inside the hint.
Doh - I should be the head of the office of redundancy office.