Check DB to see if Records exist

When inserting a record into the database, it’s always better if it’s not entered a second time by an unsteady index finger.

To make sure this doesn’t happen – with the existing data, query the database first to see if it exists, then, if it doesn’t exist, then go ahead and enter the information.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>