Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

mentioning the index in the select query?

Madhurivs23
Participant
0 Kudos

Hi All,

I want to write a query on AUFM table having where condition for AUFNR field. This table has 2 secondary indexes.

1st one on {MATNR,CHARG,WERKS, BWART,BUDAT}

and 2nd one on

I want to specify 2nd index in my select query . How can I mention that in select query?

rgds,

Madhuri

2 REPLIES 2

Sm1tje
Active Contributor
0 Kudos

Database optimizer does this for you. Just use this field in your selection and leave the rest to the database.

Former Member
0 Kudos

When you make use of AUFNR only in ur select query then automatically secondary index pertaining to that would be invoked.