Application Development and Automation 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: 
Read only

code for select statement using secondary index

Former Member
0 Likes
624

hii all,

Please provide me

code for select statement using secondary index ?

thanks

rahul

3 REPLIES 3
Read only

Former Member
0 Likes
593

Hello

Simply encount of the field in such order, in what they are located in index. Only this fields will be used.

Read only

former_member125931
Active Participant
0 Likes
593

Hi,

Craete Index for desired table with limited fields(take 5 max) then write below code in select statement after the where condition.

%_hints oracle 'INDEX("MSEG" "MSEG~ZMS")'.here MSEG is table ZMS is its index.

Read only

Former Member