Microsoft
Software
Hardware
Network
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
Installation of MS SQL 2005 (Recovering after a crash)
Mail Aliases redirected to Public Folder
How to interrupt code to make data changes
copying long file names
Convert Test field to Number field in make table query
Installed VMware Server 1, now OWA & Outlook Anywhere doesn't work
Error assigng data to a list view
Remote Desktop Server 2003 Group Policy and Server 2008
Display records from two tables, one table missing records
TTL Expired periodically on a ping to another subnet.