|
-
August 5th, 2001, 04:48 AM
#1
Sequence Number in SQL Server2000
Hi,
I would like to know the best method for creating sequence number. I am using SQL Server2000 as back-end and VB6 as fornt-end.
Thanks in advance
Kiran
Aum Namah Shivaya
-
August 5th, 2001, 11:01 AM
#2
Re: Sequence Number in SQL Server2000
When defining your column in SQL set the identity property. This will cause the database engine to increment that field for each new record created. Sort of like a MSAccess Autonumber field.
Craig
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|