Use thsi command
Set Identity_Insert Column_name On
And read this satement carefully
If the value inserted is larger than the current identity value for the table, SQL Server automatically uses the new inserted value as the current identity value.
Mohd Azharuddin Ansari
Syntel Inc
Pune
|