Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RickMurph

    Using the @@IDENTITY in UPDATE Statement

    I am not sure If I fully understand your problem, but here are a couple things you can do: 1) Check to see what the current identity field is select Ident_current ('Table1') or DBCC CHECKIDENT('Table1') 2) SET IDENTITY_INSERT [dbo].[Table1] ON go Insert Into [dbo].[Table1] (ID, Col1) values...

Part and Inventory Search

Back
Top