Skip to Content
author's profile photo Former Member
Former Member

mentioning the index in the select query?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 19, 2009 at 11:02 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2009 at 11:02 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.