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
Setting up new Server 2008 DC to replace existing Server 2003 DC in Parallel
update query to take data from one table to another table
GPO to encrypt offline files gone bad, how do i reset it
unable to open internal url using VPN
How to extract Numbers from a text string ?
is it possible to find ip from server logs?
DT_WSTR dropping value before decimal point in SSIS
how to implement the screen which can be in form of grid lines in swings
from X and Y cordites
weird effects using ROUND() on REALs in TSQL