Check the where condition sequentially

hi all,

i want to check the Custaccount in sequentially …my codes are attached below

while select * from custTransopen
where CustTransopen.AccountNum==“us-008”
CustTransopen.AccountNum==“us-004”

{

}

My scenario is custTransOpen check the first condition " CustTransopen.AccountNum==“us-008"” after checking it automatically check the second condition CustTransopen.AccountNum==“us-004”…this should done sequentially

Why don’t you do multi select for “CustTransopen.AccountNum” put into container then pass that value to where condition with while

or plz explain scenario clearly

Hi ,

Based on my understanding from your query, you need to first check the condition for Account num ‘us-008’ and then for
“us-004”. If yes, you can add order by clause in your selection

while select * from custTransopen
order by custTransopen.Accountnum desc
where CustTransopen.AccountNum==“us-008”
CustTransopen.AccountNum==“us-004”

{

}

Regards,
Anitha.E