Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is nothing in the "Data Type" drop-down that indicates an auto-counter.
I selected int and I am assuming there is a setting somewhere else to turn it into an auto-counter.
The idea is to have a 100% unique ID for my primary key, and every time a row is added it gets the next available ID number assigned to it.

share|improve this question
up vote 2 down vote accepted

In the bottom pane look at Column Properties.

Expand Identity Specification and set the following values: (Is Identity): Yes Identity Increment: 1 Identity Seed: 1

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.