On Sun, 20 Jul 2003, harsh wrote:

>
> Hi all,
> How do i do this ?
> i have a table with one of the column named uid,
> Now i want to insert a new row,only if no other
> row exist with the uid i m trying to insert.
> I hope its clear.


Hello Harsh,

How about making the uid column in your table a primary key since it is to
contain only unique values?

Cheers,
Tan Shao Yi


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to