The following statement may reset seed
DBCC CHECKIDENT ('TableName', RESEED, 1)
but this time I need to change its increment.
Or you can use Sql Server Management Studio:
Using this approach is likely to recreate the table.
Hope this helps
ALTER TABLE MyCustomers ALTER COLUMN CustId IDENTITY (200, 2)
Code from ms-help: //MS.VSCC.v90/MS.MSDNQTR.v90.en/ssmprog3/html/5719d3e4-14db-4073-bed7-d08f39416a39.htm
, 2 . - IDENTITY (1,2) . , script .
Let TableA be our actual table.
Source: https://habr.com/ru/post/1707843/More articles:The general structure of C ++ - c ++Соображения для запуска приложения Windows.NET из сетевого ресурса - .netHow to register a server in the default RMI registry for JBoss and access it from a client running in another JVM? - javaHow to run VBScript on Windows NT 4? - vbscriptHow to check if user has a specific role in JSP? - jspПочему плагин flexbuilder для eclipse так медленно открывается и компилируется? - compiler-constructionDynamic height and height in Flash AS3 - flashjQuery UI Sortable - prohibition of passing child elements - jqueryCan I compile java? - javaHow to create a DataTemplate using Expression Blend 3? - data-bindingAll Articles