This might be an easy question, but I cannot find help anywhere.
I have a table and need to insert a sequential number starting from one for all rows in my table. I tried this but, it give some weird nubmer.
Select newid() as row_id,
Column1,
Column2
into NewTable
From Mytable
Thank you for any assistance.
I have a table and need to insert a sequential number starting from one for all rows in my table. I tried this but, it give some weird nubmer.
Select newid() as row_id,
Column1,
Column2
into NewTable
From Mytable
Thank you for any assistance.