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: 

question related to select statement

Former Member
0 Kudos
85

Hi All,

If the field mentioned in where clause of select statement are not in sequence as available in database.Will it affect the performance.

Thanks and Regards,

5 REPLIES 5

Former Member
0 Kudos
51

Hi,

if any index exist in that order it will not affect the performace...else create one to avoid performance bottleneck.

regards,

madhu

Former Member
0 Kudos
51

i think it wont be any criteria of sequence in where clause but which field you are using in where that is important.

regards

shiba dutta

Former Member
0 Kudos
51

No, It will not generate any performance issue.

Cheers

former_member181962
Active Contributor
0 Kudos
51

Hi Praveen,

It does have an effect. I have noticed the same in one of my programs recently.

If you don't know the correct order, declare in the order they appear in the se11.

Regards,

Ravi

Former Member
0 Kudos
51

it is good that u specify the sequence order...<b>This reduces time sometimes</b>...If u dont know u can specify in random order...this is not a problem.