‎2011 Oct 26 10:46 AM
Hi All,
I am working on performance issue..The requirement is like : The user can enter the table and Index name in the Selection screen.
select query should pick the data from Database table based on the index.....
In where condition i have to incorporate the Oracle hints.((%_HINTS ORACLE )...
Can any one suggest me how to proceed.....
Jayan.
‎2011 Oct 26 11:10 AM
You can send both the DB table name and also Oracle hints syntax dynamically (as variable contents) to the Open SQL statement, so this should be possible.
Please read ABAP online documentation for SELECT and search for additional information on "%_HINTS ORACLE", I've found some interesting threads after a quick search.
Thomas
‎2011 Oct 26 11:22 AM
‎2011 Oct 26 5:46 PM
?? a user is supplying a table and index name? Why would you do that? If they don't supply values for the fields named in the chosen index, you're going to read the table end-to-end anyway.... Why would a user even be reading a database table?
‎2011 Oct 26 7:34 PM
Good point actually. Maybe he's planning a little "don't trust the CBO" kind of analysis program, to compare runtimes of different access paths?
Thomas