>You don't necessarily have to use CreateUUID to generate a value for a
>primary key field.. Since you are using this as a login, you could try
>making a string comprised of the user name and the time created its
>created..
ok good. I like this.
>If you are querying to see if the ID matches any others in the database,
>if it returns any results at all, it is not unique.
>
>Suppose your query was something like:
>
>select *
>from table
>where ID = '#uniqueID#'
>
>If it returns any records at all, the ID is not uniqueID is not unique.
ah great, it's as I thought. Nice when it DOES work out that way.
thanks for the answers.
--
Daniel Kessler
Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD 20742-2611
301-405-2545 Phone
www.phi.umd.edu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
