The table should have the unique constraint enabled to enforce the integrity. Good application design would *not* have the integrity enforced externaly
In my mind it would be better to make to graceful calls to the database, rather than making one and traping any errors.
In reply to Re: Re: Checking for Dupes in MySQL
by Ryszard
in thread Checking for Dupes in MySQL
by bagelesque
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |