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
 SQL Server Development (2000)
 Autonumber in SQL

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-07-18 : 11:59:46
J.P. writes "Is there a statement that can be written in standard SQL that sets up autonumbering for an attribute or column? Also is this done in the Domain setting or the Table setting?"

royv
Constraint Violating Yak Guru

455 Posts

Posted - 2002-07-18 : 12:00:59
create table tblWhatever (autoidcolumn int identity(1,1))

*************************
Someone done told you wrong!
Go to Top of Page
   

- Advertisement -