Re: SQL insert dupe prevention problem



Am Samstag, den 23.09.2006, 11:06 -0400 schrieb Ben Breslauer:
You really want to use a primary key or unique constraint on table.a in
order to prevent duplicates from being entered. The documentation for
your database should tell you how to set one up.

in addition to that you may want to use replace instead of insert

Grüße / Regards,
Oliver
--
Soitainly. I was assuming that came with the OO-ness of it. -- Larry
Wall in <199710011802.LAA21692@xxxxxxxx>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx