Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Table ztest has a secondary index on the following fields:
tnum, tcode.
Select * from ztest where tnum ne '123' and tcode = '456'.

Why is the index not used in the above case?
Choices:
a) Indexes are not allowed on Z tables
b) Variables must be used, NOT literals
c) Select individual fields, not select *
d) Client is not in the where clause
e) NE invalidates the use of an index

Info: Can someone explain in detail why this happened? It
will be really helpful to handle to case in Secondary index:

Answer Posted / shatanjay

Correct Answer Is : " E ".

Reason(s) : Negation (In this case 'NE') of Index fields
(in this case 'TNUM' will prevent DB Optimizer from
considering the field when searching for a suitable Index)

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which commands are used for interactive reports?

1242


Explain what are the events in screen programming?

1030


2)In production what is the user exit?

1979


What is exception class and test class. How to use it?

1391


What are domains and data element? : abap hr

1078


Module Pool Programming: Events and Table Control handling.

1394


What are the control break events in abap? : abap data dictionary

1121


What are the different methods of bdc? : abap bdc

1052


Describe the difference between macro and subroutine?

1255


What are the differences between a database index and a match code? : abap data dictionary

1221


How can we achieve MVC ?

1341


Which function module would you use to check the user’s authorization to access files before opening a file?

1057


What is Buffering Concept? When should a Table be buffered?

12964


What are datasets in abap?

1164


What is an abap/4 query? : abap hr

1088