Not the best thing to do. If you have an Identity field then just let it generate the values for you. If you want to be able to pass values your self then just dont make it an identity value at all.
But if do want to do what you are trying to do then you could do something like this...
CREATE TABLE new_employees
(
ID int IDENTITY(1,1),
NAME varchar (20),
BALANCE int
)
GO
INSERT INTO new_employees (NAME, BALANCE)
VALUES ('Name 1', 1),('Name 2', 2),('Name 3', 3),
('Name 4', 4),('Name 5', 5)
GO
DELETE FROM new_employees
WHERE ID > 3
DBCC CHECKIDENT ( 'new_employees', RESEED,0 ) -<-- with seed value 0
Checking identity information: current identity value '5', current
column value '0'.
DBCC execution completed. If DBCC printed error
messages, contact your system administrator.
DBCC CHECKIDENT ( 'new_employees', RESEED) --<-- WIth out any seed value
this will reseed the value to highest nest possible Indentity value.
Checking identity information: current identity value '0', current
column value '3'.
DBCC execution completed. If DBCC printed error
messages, contact your system administrator.
INSERT INTO new_employees (NAME, BALANCE)
VALUES ('Name 4', 4),('Name 5', 5),('Name 6', 6)