Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.