Hi,
I have a scenario where I have sort orders in table for a given
SpecIDs. See below
SpecID SortOrder count
100110 1 6
100159 2 6
100025 3 6
100033 4 6
. 6
6 6
... 1 12
. 2 12
. 3 12
... ... ...
12 12
Now the above sort order need to be changed for the given SpecIDs. So
I need to update the sort order in the table based on the requirement.
As you see I need to update 6 records and 12 records to redefine the
sort orders. I am just thinking to write a script that updates the
table with 12+6 = 19 update statements in it. Is there any other way
to make it look professional?
Thanks,
L
Replies