Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

USE_HASH hint

user10274093Oct 11 2015 — edited Oct 15 2015

Hi,

what if this hint has only table name in parameter ?

Does it do anything in the following example :

SELECT /*+ ORDERED USE_NL(M LM) USE_HASH(LE) INDEX(E Employee_Last_Name)

  INDEX(LE Location_Description) INDEX(M Employee_Pkey)

  INDEX(LM Location_Pkey) */

  E.First_Name, E.Last_Name, E.Salary, LE.Description,

  M.First_Name, M.Last_Name, LM.Description

FROM Employees E, Locations LE, Employees M, Locations LM

WHERE E.Last_Name = 'Johnson'

  AND E.Manager_ID=M.Employee_ID

  AND E.Location_ID=LE.Location_ID

  AND M.Location_ID=LM.Location_ID

  AND LE.Description='Dallas'

Thank you.

This post has been answered by Jonathan Lewis on Oct 12 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2015
Added on Oct 11 2015
8 comments
14,018 views