How to insert data only if data doesn't already exist in MYSQL?
Posted
by Lost_in_code
on Stack Overflow
See other posts from Stack Overflow
or by Lost_in_code
Published on 2010-06-03T10:01:14Z
Indexed on
2010/06/03
10:34 UTC
Read the original article
Hit count: 124
mysql
This is what I'm doing right now:
Execute a query and check if the date to be inserted already exists in a table.
If date doesn't exist:
Another query will insert the date into the table.
How can these two query be combined?
© Stack Overflow or respective owner