0

enter image description here

I'm working on my Asp.Net MVC project. I'm using SQL Server Managment Studio. Why BrandId increase thousand by thousand?

Sezer Türkdal
  • 193
  • 2
  • 10

1 Answers1

1

Since BrandId is an identity column, there are a few things that could cause what you're seeing.

  1. Someone could have changed the seed increment to 1000.

  2. Someone could have inserted large batches of rows and then rolled them back in a transaction. In this case, the increment doesn't get rolled back (I don't think).

  3. Someone could have turned off (or overrode) the Identity property, manually inserted rows with those values and then turned Identity back on.

Given the values go from 1005 to 2002, it doesn't seem as likely the increment was changed to 1000. Option 2 or 3 seems more likely.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Randy Minder
  • 47,200
  • 49
  • 204
  • 358
  • 7
    none of the above, know bug(or feature) http://stackoverflow.com/questions/14146148/identity-increment-is-jumping-in-sql-server-database – Fredou May 16 '16 at 18:06