How To Reset Identity Column Value in SQL Server Table - SQL Server / TSQL Part 43

preview_player
Показать описание
SQL Server / TSQL Tutorial Scenario: How To Reset Identity Column Value in SQL Server Table

In this video you will learn how to reset identity column. You will learn
How to reset identity by using Truncate Table Statement
How to use Delete statement to delete data and use DBCC_CheckIdent to reset identity.

Link to Scripts used in the video

Check out our website for Different SQL Server, MSBI tutorials and interview questions
such as SQL Server Reporting Services(SSRS) Tutorial
SQL Server Integration Services(SSIS) Tutorial
SQL Server DBA Tutorial
SQL Server / TSQL Tutorial ( Beginner to Advance)
Рекомендации по теме
Комментарии
Автор

how to reset the identity without deleting the records, so when a transuction 2 failed with identity 2, the next row have right order and inserted with identty 2!!!!

sheemharbi