Hi,
I have a table with id and name as column like below.
Id Name
0 a
0 b
0 C
table can have n rows. All n rows contain 0 as id. Now I want to update table such as id column increment like 1,2,3 ,4 for every row.
I want to do that in single update statement without using cursor or any loop.
How can I do that?
Please give me amswer.