http://www.dfarber.com/Counter.rar (it is 1.7 mb)and Video worth a thousands words.
Regards,
Doron
In SQL Server, this is called an identity column. You can technically setup as many of these as you need. If you modify a table through SSMS, you can go down to the Identity section, and specify an auto-increment seed, etc.
Thanks for your reply. Yes I see that you can have the second Auto Increment using the DDT package which I also tried to do and see below image. Right now I am NOT using yet the DDT package and I tried to create the second auto increment in the actual ms sql 2005 table. As far as I know it can not be accomplished unless you use a Stored Procedure. I assune the DDT also created a Stored Procedure for this purpose.
Thanks,Doron
Then here is a column with just the identity )aut-incrementing) column defined:
These are both in the same table and will both automatically generate a new value when a new row is created using the identity column (auto-incrementing) settings. I have also attached these images for a better view.