On 6/11/01 11:11 PM, "Jari Mäkelä" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> how a field ( names of products ) of database should be defined so that you
> could not enter identical entries at the field?
> 
> Or does one need to do the validation before inserting info?
> 
> Jari Mäkelä
> 
How about creating a unique index for that field?
Details in the manual.

Good luck

Hannes


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to