MySQL how to check does information exists
#6

Put a unique key on the e-mail address column. Then just insert. If it comes back with a duplicate key error (catch in OnQueryError) you can just handle it there. Saves you one select query.
Reply


Messages In This Thread
MySQL how to check does information exists - by Delgad0 - 01.12.2014, 17:32
Re : MySQL how to check does information exists - by Dutheil - 01.12.2014, 17:53
Re: Re : MySQL how to check does information exists - by Delgad0 - 01.12.2014, 18:01
Re : MySQL how to check does information exists - by Dutheil - 01.12.2014, 18:03
Re: Re : MySQL how to check does information exists - by Delgad0 - 01.12.2014, 18:06
Re: MySQL how to check does information exists - by Vince - 01.12.2014, 18:36

Forum Jump:


Users browsing this thread: 2 Guest(s)