Fine set "prod_id" for "numeric" and then look at the bottom of the page in
SQL EWnterprise Manager. Set "Identity" to "yes" (the default is "No"). That
should set Identify Seed and Identity Increment each to 1. If you want to
start at a different number than 1 or have a different increment, change one
or both of those. 

drew

-----Original Message-----
From: Hoenig, Robert [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 19, 2004 9:53 AM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] RE: Autonumber trigger

I'm not sure I understand what you by setting an integer value for "id"?  I
have my auto column name set to proj_id and the data type is numeric.

Robert

*---------------------*
Application Programmer
x4863


-----Original Message-----
From: Trusz, Andrew [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 19, 2004 8:41 AM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] RE: Autonumber trigger


Either in the code creating the table by identifying the column as Auto, or
by using the Enterprise Manager and setting an Integer value for "id" (the
typical auto column name) and then setting the Identity as "Yes" and then
under Columns at the bottom of the page as Identity. Identity Seed and
Identity Increment should both set to 1.  

drew

-----Original Message-----
From: Hoenig, Robert [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 19, 2004 9:21 AM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] Autonumber trigger

How can I set an auto number trigger for SQL Server?

Robert

*---------------------*
Application Programmer
x4863

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System. For
more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

____ * The WDVL Discussion List from WDVL.COM * ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the
words: "set WDVLTALK pw=yourpassword" in the body of the email. To change
subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To
unsubscribe send a blank email to %%email.unsub%%

To unsubscribe via postal mail, please contact us at: Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

____ * The WDVL Discussion List from WDVL.COM * ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the
words: "set WDVLTALK pw=yourpassword" in the body of the email. To change
subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%

To unsubscribe via postal mail, please contact us at: Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System. For
more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

____ * The WDVL Discussion List from WDVL.COM * ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the
words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to