MySQL Forums
Forum List  »  Performance

Re: Fastest way to decide whether entry exsited in table?
Posted by: Mike Hillyer
Date: October 14, 2004 07:00PM

Did you use a UNIQUE index? If so any attempt to insert a duplicate row will just result in an error and there's no need to check ahead of time.

Mike Hillyer, Technical Writer
MySQL AB, www.mysql.com
Office: +1 403-380-6535

Blog: http://www.openwin.org/mike

"The Open Source movement has become a major force across the software industry, and MySQL is the world's most popular open source database."
--Fortune Magazine

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Fastest way to decide whether entry exsited in table?
2781
October 14, 2004 07:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.