I have a test database in SQL Server 2012. It has numerous tables with primary key columns of type int where the identity specification is set to yes and the Identity Increment and Seed are both set to one.
For some bizarre reason as I have been testing an application against this database many of these identity columns have suddenly gone from (for example) 9 to 1007. I know that I haven't called routines that would be trying to insert new rows which makes this behaviour all the more strange.
I'm curious as to whether anyone else has experienced this and if so do they know why it was happening?
Because it's a test database I'm not overly worried but I am concerned that new database deployed on an end users machine may exhibit the same quirky behaviour so I'd like to ensure that I have not inadvertently done something silly and set about correcting it if I have.
Thanks for any suggestions you may have.