I have a table in SQL Server 2005 with the following structure:
fname | id
----------
aaa |
bbb |
ccc |
I need a query that will fill the id column with sequential numbers (eg, 1-3 for this example data). I need this to update the table itself, not just a query that shows this in the results.