I don't think you can have a relation (table) without a unique key. Either a
single field or a unique relation between 2 or more fields is necessary for
the table.
Franciccio
"Bob Lockie" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> On 06/16/04 09:53 John Nichel spoke:
>
, La Vergne, TN 37089
"Pay It Forward!"
-Original Message-
From: Bob Lockie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 9:21 AM
To: PHP-DB Mailing List
Subject: [PHP-DB] Re: [PHP] update count
On 06/16/04 09:53 John Nichel spoke:
> Bob Lockie wrote:
>
>&g
On 06/16/04 09:53 John Nichel spoke:
Bob Lockie wrote:
What is the best way to only do an update if it going to update only
one row?
I want to protect my code so that it won't accidentally update more
than one row.
I can do a select first but there must be an easier way. :-)
UPDATE thisDB.thisTa