06-26-2009 7:23 AM
Hi, everybody!
Recent i found a few code but i don't know this mean of code. fllows as.
SELECT BMATNR BWERKS E~MTARP AS MTART
CSPART DMAKTX
APPENDING CORRESPONDING FIELDS
OF TABLE LT_PMAT
FROM STPO AS A
INNER JOIN MAST AS B
ON BSTLNR = ASTLNR
INNER JOIN MARA AS C
ON CMATNR = BMATNR
INNER JOIN MARC AS E
ON EMATNR = BMATNR
AND EWERKS = BWERKS
LEFT OUTER JOIN MAKT AS D
ON DMATNR = BMATNR
AND D~SPRAS = C_E
FOR ALL ENTRIES IN LT_CMAT
WHERE A~STLTY EQ C_M "Material Bom
AND A~IDNRK EQ LT_CMAT-MATNR
AND B~WERKS IN R_WERKS
AND B~STLAN IN R_STLAN
AND B~STLAL IN R_STLAL
%_HINTS ORACLE
'LEADING(T_00) USE_NL(T_00 T_01 T_02 T_03 T_04)'.
look bold-face!
I don't know what is "%" and code of last-line !
Please help me!
Thanks Advanced!
06-26-2009 7:44 AM
Hi,
Using HINT means we are forcing the database table to follow the specified path..
06-26-2009 7:40 AM
06-26-2009 7:41 AM
%_HINTS ORACLE means you are giving hints/instructions to oracle database, for the sole purpose of database optimization.
The DB optimizer follows certain rules to decided use of index, buffer etc. %_HINTS overrides it by giving specific instruction to oracle.
See OSS Note 129385 for furthur information on using %_HINTS
06-26-2009 7:44 AM
Hi,
Using HINT means we are forcing the database table to follow the specified path..