E-SQR: Can You Add A Hint To A SELECT DISTINCT SQL Statement In SQR?
(Doc ID 638198.1)
Last updated on AUGUST 11, 2022
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.2 and later
Generic (Platform Independent)
SPECIFIC TO: SQR
Poor performance is observed in a particular SQR and so a sql hint is needed.
The hint must be the first thing after the select or the hint is ignored. However, the SQR is considering the distinct as a column in the example below and seems to be stipulating that the distinct be the first thing after the select.
/*+ INDEX (HDR_ORIG IQTEST_MCHDR) INDEX (ITM PSDITEM) USE_HASH (PAYITM) */
Is it possible to add a hint to an SQR?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document