I am setting Identity
column with primary key to one column named UserId
. So, it will auto increment. It was working fine in my SQL Server 2008 R2. But before sometime, I upgraded it to SQL Server 2012.
It was working fine but don't know what is the wrong, It has suddenly increased number from 13 to 1008.
E.g. last incremented number was 13 so after that It should be 14 but it incremented number as directly 1008 which is very big gap between 13 to 1007.
What should I do in this case? I have not deleted any rows.