creating unique user IDs for user

Results 1 to 2 of 2

Thread: creating unique user IDs for user

  1. #1
    Join Date
    Dec 1969
    Posts
    199

    Default creating unique user IDs for user

    What is the best way to creat a unique user ID that will be used as the key in a database?<BR>thank you

  2. #2
    keithadler@hotmail.com Guest

    Default RE: creating unique user IDs for user

    If you&#039re using SQL Server, create an int field and set the Allow Nulls to false ... and then Identity to true. If you&#039re using access then enable the autonumber property. If these are not good enough for you ... look at creating a GUID. That&#039s a last resort to guarentee uniqueness.

Posting Permissions

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