Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Flowing Fount of Yak Knowledge
Premature Yak Congratulator
quote:Originally posted by SrinikaIs there any pattern or relationship between identity col & the new field ?or else some other way that u want the new field to be filled with data starting from 1?try the followingdeclare @i intSet @i = 1update urTbl set @i = @i + 1, New_Col = @i Srinika
Not Just a Number