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

Howdy, Stranger!

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

Categories

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

NickFNickF USAPosts: 132Member

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?

Tagged:

Comments

Sign In or Register to comment.