Hi Gurus,
This is for Big ones. I have a Select on BNKA table with where condition on BANKL field.
Now, I also have a Secondary Index on BNKA table with BANKL Field.
So When write the Select Statement like this.
SELECT * FROM BNKA INTO WA WHERE BANKL = '12345678'.
Will the above mentioned select picks Secondary Index. As per my search and analysis in SCN and as well as in the Code From SAP TIPS & TRICKS I see the below Select will work more faster than the above one.
SELECT * FROM BNKA INTO WA WHERE BANKL = '12345678'. %_HINTS ORACLE 'INDEX("BNKA" "BNKA~Z01")'.
Z01 is the Secondary Index with Fields MANDT and BANKL.
Now tell me your opinion gurus. Which one we should go for - and Why?
Regards,
Venkat Sesha