- SPLessons

Auto-increment primary key in SQL tables

Home > > Tutorial
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Auto-increment primary key in SQL tables

Auto-increment primary key in SQL tables

Description: 

Hi every one today we are going to see how to set the auto increment column in SQL server.

 Step 1 : 

Right click on the table name "patientinfo"  and select design option

 Step 2 : 

Navigate to column properties and set " Is Identity " to yes which is under Identity Specification.