How to insert a record only if it doesn't exist in MySQL?

I need to check a record for duplicates before inserting. What is the best way to do this for a database having a large number of records without affecting the performance?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion