Does anyone know how to add an autonumber field into a table? Is this the same as uniqueidentifier?? I have a table and I need to create a field to use as Primary Key. I would appreciate any help.
identity is the autonumber keyword.
create table tblWhatever
id int identity,
name nvarchar(50) /* whatever */
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?