SQL Server Express

Discussion in 'Databases' started by j-w-thomas, May 9, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Using SQL Express is there a setting when creating a table in MS SQL Server 2005 so that one field is auto incrementing with each new entry?
    This would become the unique ID number as normal

    In MS Access it is: AutoNumber

    Also should it be set to field type bigint or something like that?

    Thanks,

    John
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    There is no AutoNumber data type for MS SQL.


    You can set the id colume to Int and set it to be identity.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page