SunQuest
 
           SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old April 13th, 2000, 12:42 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
How do I make a table column auto increment??

<i><b>Originally posted by : Blake Patterson (blake@blakespot.com)</b></i><br /><br /> When creating a table, using MySQL, I was able to enter the field description as, say:<br /><br />unid not null auto_increment primary key,<br /> <br /> ...to set an ideal unid field that would necessarily be unique and would take care of incrementing itself. When entering this straight SQL command-line piece into MS SQL server, it does not like "auto_increment" or any variation of it. How do I set this option using MS SQL server?? Thanks.<br /><br /><br /><br />blake@blakespot.com<br />bp

Reply With Quote
  #2  
Old April 16th, 2000, 04:40 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : steve</b></i><br />data type int also check the identity column this an auto incrementer<br /><br /><br />------------<br />Blake Patterson at 4/13/2000 10:42:49 AM<br /><br /><br /> When creating a table, using MySQL, I was able to enter the field description as, say:<br /><br />unid not null auto_increment primary key,<br /> <br /> ...to set an ideal unid field that would necessarily be unique and would take care of incrementing itself. When entering this straight SQL command-line piece into MS SQL server, it does not like "auto_increment" or any variation of it. How do I set this option using MS SQL server?? Thanks.<br /><br /><br /><br />blake@blakespot.com<br />bp

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > How do I make a table column auto increment??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway