‎2007 May 05 7:08 AM
if we create secondary indices then how we have to write select statement for it ?plz reply to me .
‎2007 May 05 7:11 AM
‎2007 May 05 7:11 AM
‎2007 May 05 7:12 AM
Hi Manjula,
Basically index are provided to improver performance. i.e with index select on db tables retrieves data much faster.
If you are writting select statement on the table where in where clause you have non-primary keys then it takes longer to retriev data from DB table.
If you have select in dbtable on non-primary key you can create Secondary index with keys as per your where clause which result in faster DB table access.
Thanks.
‎2007 May 05 7:13 AM
‎2007 May 05 7:13 AM
index ?
u have to use all the fields on which u have created index.
like this
in my index fields are---
bwart
werks
charg
so my select stmt will be
select * from mseg into corresponding fields of i_mseg
where
bwart eq '101' and
werks eq 'pp01' and
chard ne ' '.
regards
Prabhu