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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -