I have a table Orders with the following fields:
Orders
Id | SubTotal | Tax | Shipping | DateCreated
The Id c
Id
You need to set the Identity seed to that value:
CREATE TABLE orders ( id int IDENTITY(9586,1) )
To alter an existing table:
ALTER TABLE orders ALTER COLUMN Id INT IDENTITY (9586, 1);
More info on CREATE TABLE (Transact-SQL) IDENTITY (Property)