Monday, 24 June 2019

Insert and Update in Same Query

Hi You can use this query for inserting records and if already present the following query will update it.



To restart seed use



USE [TestDB]
GO
DBCC CHECKIDENT ('PO', RESEED, 0)
GO

No comments:

Post a Comment