HI SAP GURUs,
I have a DB HINT select query & I have to change this into OPEN SQL.
But first am not understanding below DB hint query itself. SO request you to please guide me on below.
SELECT FIELD1
FIELD2
FIELD3
FROM ABC
INTO TABLE ITAB
WHERE FIELD1 = VALUE
%_HINTS ORACLE 'LEADING (ABC.T1) USE_NL (ABC.T2)'.
Thanks,
Shabareesh
I don't understand your question.
What do you mean with
I have to change this into OPEN SQL ?
The above statement is already Open SQL.
The addition "%_HINTS ORACLE" is an addition in Open SQL.
After the addition, you enter an Oracle specific hint.
You can enter more than one addition %_HINTS for the same and for other DBs.
There are no OPEN SQL specific hints (at least no documented ones that you can use).
See note 129385.
Horst
If you actually want to understand the Oracle hint, I suggest you first search/read online Oracle documentation (e.g. Understanding Optimizer Hints and Using Optimizer Hints.)
Regards,
Raymond
Add a comment