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
Me.BindingContext(Me.MEMTb
SQLDataSet
1, "MEMTb").AddNew() - AddNew not working
SQL SERVER 2008 - Use a Variable as a Column Name
Recommendations for power for school netbook cart
Windows Server 2008 to Server 2008 R2 Upgrade
Is there any way to restrict WHERE users can have access to OWA (Exchange 2007)?
Exchange 2007 Configuration in SBS 2008
How to detect if SQL Server 2005 or 2008 is installed
Saving ComponentOne Winform c1Editor to SQL Server
Topper not displaying as transparent
Exchange 2003 / Outlook 2010 - Out Of Office Not Working via Outlook