Backup made on a xml (using set identity_insert table on) i cant drop the table due to acount restricctions. regards, edu. view 3 replies view related incerement the identity seed jan 27, 2003. hi, i have a table which has a field called x which is set to identity with seed 1 and incerement 1. currently the table has 100 records so the last. Dbcc checkident can reseed (reset) the identity value of the table. for example, yourtable has 25 rows with 25 as last identity. if table has to start with an identity of 1 with the next insert then the table should be reseeded with the identity to 0. if identity seed is set below values that currently are in table, it will violate the. Figure b shows the result of using create table to create a table named orders and setting the orderid column's identity seed and increment values to 100 and 10, respectively. as you can see, the.
Truncate table do not work in the case of table variable ! adding to others...table variable is designed as a light weight , simple to use, in-memory (though not in all cases) temporary storage mechanism that do not have statistics and index capabilities (index can be created using primary key, unique key during the table definition).. Reset identity column value in sql server lowell heddings @lowellheddings march 7, 2007, 1:06pm edt if you are using an identity column on your sql server tables, you can set the next insert value to whatever value you want.. If for some reason the identity value has become out of synch with the values in the table, we can automatically reseed the table to a valid identity value. in the following case i�ve manually set the seed to 10 while the highest identity value in the table is 27..