in reply to Re: Re: perl (mysql) question...
in thread perl (mysql) question...
Yes, you can give your 'nick' column the UNIQUE attribute. That will make INSERT throw an error if a duplicate is attempted.
Since you will be searching the column by nick, it may be worthwhile to make it an INDEX, too. The combination makes a column behave as as if it were a primary key.
After Compline,
Zaxo
|
|---|