RE: UNIQUE ID problems...

2001-07-27 Thread Bob Showalter
> -Original Message- > From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 27, 2001 2:50 AM > To: Beginners (E-mail); Beginners-Cgi (E-mail) > Subject: UNIQUE ID problems... > > > List, > > Interesting problem that I think proves just how much I > really don't know

Re: UNIQUE ID problems...

2001-07-27 Thread Jos I. Boumans
if you say 'unique' you probably want to concider an autonumber field in your db for the primary key it's *always* unique... you can even do a query on the db to give you the current_id for a table (so the one you want to insert would be current_id + 1 ) depending on what db you use, the sql is