navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Auto Number in SQL

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Auto Number in SQL
Page: [1]
 
Welby

 

Posts: 59
Joined: 11/12/2002
Status: offline

 
Auto Number in SQL - 11/19/2002 15:49:06   
I know that Access has a datatype of Auto number -- is there any way to do this in SQL?


Welby
Welby

 

Posts: 59
Joined: 11/12/2002
Status: offline

 
RE: Auto Number in SQL - 11/19/2002 15:53:57   
After searching -- I wanted to clear this up -- I don' t want to do a select statement - and retreive the data - and then have it assign a number. I want there to actually be a field in the table that is a number 1,2,3,4 and every time I add a record - it increments that by 1. This may be my way of getting around my Invoice number issue - if I can get it to work.


WElby

(in reply to Welby)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Auto Number in SQL - 11/19/2002 20:08:24   
In enterprise manager, make sure you are marking the column as identity and seeding it by 1

:)

< Message edited by Spooky -- 11/19/2002 8:10:30 PM >


_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Welby)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Auto Number in SQL
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts