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

ddic

Former Member
0 Likes
437

1) what happens when is use key fields in a select statement in reverse order ?

2) if i have 1234 fields of an itab if i sort only 1 and 3 then what happens , if i'm using control break statements on them in them then what will happen ?

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
416

1. It will impact the database performance. So, please don't use like that.

2. If you use the control break on 1 and 3, and your contorl will trigger even if your field 2 has been changed. So, please change your table structure like field1, field3, field2, field4.

Regards,

Naimesh Patel

2 REPLIES 2
Read only

former_member194152
Contributor
0 Likes
416

hi,

(1) it will not affect your database selection but obviously reduce performance for ur select querry .

(2) Then for each new combination of field 1 2 3 control break statement will trigger.

Reward if helpful.

Regards

Gagan

Read only

naimesh_patel
Active Contributor
0 Likes
417

1. It will impact the database performance. So, please don't use like that.

2. If you use the control break on 1 and 3, and your contorl will trigger even if your field 2 has been changed. So, please change your table structure like field1, field3, field2, field4.

Regards,

Naimesh Patel