hi there,
I am selecting for example 1000 records in group CD00 then
I have to split those records into 4 group with CD00A,CD00B,
CD00C and CD00D.
I can use TOP 250 but the problem is the number(1000) always changes when I run select query.
I was thinking to create a user defined function and pass
variable and do calculation but I don't know how
Is anyone has any ideas how to solve this problem
Thank you inadvance
Nat
I am selecting for example 1000 records in group CD00 then
I have to split those records into 4 group with CD00A,CD00B,
CD00C and CD00D.
I can use TOP 250 but the problem is the number(1000) always changes when I run select query.
I was thinking to create a user defined function and pass
variable and do calculation but I don't know how
Is anyone has any ideas how to solve this problem
Thank you inadvance
Nat