I have a table with 11 rows variable now i am need in id column and set as primary key and i want to number or auto increment the id column for 11 rows
eg :
id name address
null a b
null c d
.
.
11 records
i want ot output like that
id name address
1 a b
2 c d
.
.
.
11 z f
Loading

Iftikar HussainPosted Jul 26, 2013, 2:39 AM
Create a new column with identity & drop the existing column
Regards,
Iftikar
Sanjeeb LenkaPosted Jul 26, 2013, 2:44 AM
Ravi ShekharPosted Jul 26, 2013, 2:36 AM
Means your first column first row value is 1 after that it will increment by 1.
Regards,
Ravi