Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to set Auto Increment to one 1 even after deleting records in SQL Server
ChannelCode CombinationDescription from the creator
How to set Auto Increment to one 1 even after deleting records in SQL Server
IMPORTANT NOTE: =========================================== Make sure to delete all the data in the table before entering the line of code. ==============================================
1)Go in your Sql Server database.
2)Select your database.
3)Open your Table whose id you want to reset.
4)Click on Select top 2000 rows.
5)Delete all the data present in your table.
6)In your appeared tab enter the following line.
DBCC CHECKIDENT('tablename',reseed,0)
IMPORTANT NOTE: =========================================== Make sure to delete all the data in the table before entering the line of code. ==============================================
1)Go in your Sql Server database.
2)Select your database.
3)Open your Table whose id you want to reset.
4)Click on Select top 2000 rows.
5)Delete all the data present in your table.
6)In your appeared tab enter the following line.
DBCC CHECKIDENT('tablename',reseed,0)
About this tutorial
Code Combination published this 3:38 video tutorial on November 15, 2019. It has been watched 17,092 times on YouTube.
- Channel
- Code Combination
- Category
- People & Blogs
- Duration
- 3:38
- Published
- November 15, 2019
- Views
- 17,092
- Likes
- 73
Tags
Share
This tutorial in other languages
- FRComment mettre Incrémentation automatique à un 1, même après la suppression d'enregistrements dans SQL Server
- ESCómo establecer un incremento automático a 1, incluso después de la eliminación de registros en SQL Server
- PTComo definir Auto Incremento a um 1, mesmo após a exclusão de registros no SQL Server
- ITCome impostare Incremento automatico ad un 1 anche dopo l'eliminazione di record in SQL Server
- DEWie Auto Increment einem 1 auch nach dem Löschen von Datensätzen in SQL Server festlegen
- NLHoe kan ik Auto Increment ingesteld op een 1, zelfs na het verwijderen van records in SQL Server
- RUКак установить Auto Increment к одному 1 даже после удаления записей в SQL Server
- PLJak ustawić automatycznego przyrostu jednego 1, nawet po usunięciu rekordów w SQL Server
- JAでも、SQL Serverのレコードを削除した後、1 1に自動インクリメントを設定する方法
- ARكيفية تعيين الاضافة السيارات إلى واحد 1 حتى بعد حذف السجلات في SQL Server
- HIएसक्यूएल सर्वर में रिकॉर्ड हटाने के बाद भी एक 1 के लिए ऑटो बढ़ते क्रम में स्थापित करने के लिए कैसे
- IDCara mengatur Auto Increment untuk satu 1 bahkan setelah menghapus catatan di SQL Server