Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 auto increment

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-01-29 : 07:27:05
pinckel writes "what is the syntax if u want the primary key of a table to get incremented automaticaly.. ...
even though u dnt insert value for that particular primary key.. what is the syntax used for defining the primary key during table definition?"

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-01-29 : 07:32:18
Change the column in EM to an IDENTITY column.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -