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?


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!


In this Discussion