php - delete if record exits otherwise exit in MySQL -
i want delete record if exist , don't if record doesn't exist think delete query alone not sufficient. because database throws error if doesn't find record. using mysql doing :
delete tag exists(select * tag column='value') thanks in advance
delete tablename columnname =' '; asked for. if record exists delete else nothing happens.
Comments
Post a Comment