grajenda
2nd June 2005, 19:39
Hai all
I want to find out the no of distinct sales orders from sales order history table tdsls450.I I could not find a better way then the below.Pls let me know is there any better way to get the no of records??
tdsls450 primary key is Ordernum & transaction date
select tdsls450.orno
from tdsls450
group by tdsls450.orno
selectdo
count.total = count.total + 1
endselect
regards
Rajendar
I want to find out the no of distinct sales orders from sales order history table tdsls450.I I could not find a better way then the below.Pls let me know is there any better way to get the no of records??
tdsls450 primary key is Ordernum & transaction date
select tdsls450.orno
from tdsls450
group by tdsls450.orno
selectdo
count.total = count.total + 1
endselect
regards
Rajendar