Question : Usin SSMS how do I add a unique ID field?

If I were to create a new table using SQL Server Management Studio, how would I go about making the first column a unique auto generated int value?  When ading a record I want it automaticaly populated with a unique value that's one larger than the previously added row.

Thanks,
newbieweb

Answer : Usin SSMS how do I add a unique ID field?

set up the column with the  IDENTITY property choose your seed value (1) and increment value (1)

choose a datatype of Integer (or bigint)
Random Solutions  
 
programming4us programming4us