Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Location
    Holland
    Posts
    18

    Unanswered: Table - 'Auto-numbering'

    Hi guys,

    Is it possible to make a table with 'Auto-numbering'? I mean the same function as in MS Access.

    Thanks in advance.

  2. #2
    Join Date
    Feb 2004
    Posts
    492
    yes, see IDENTITY in BOL.
    example:
    create table dbo.myTable (myID integer IDENTITY(1,1))

  3. #3
    Join Date
    Apr 2004
    Location
    Holland
    Posts
    18
    Quote Originally Posted by Kaiowas
    yes, see IDENTITY in BOL.
    example:
    create table dbo.myTable (myID integer IDENTITY(1,1))
    ThX m8. I'm very happy with it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •