Re: Delete records that contain a certain string
This is what I get :(
delete from `wp_frm_items` locate( date_format(curdate()-2,'%d-%m-%y'), name ) > 0
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'locate( date_format(curdate()-2,'%d-%m-%y'), name ) > 0' at line 1
Subject
Written By
Posted
Re: Delete records that contain a certain string
June 24, 2019 09:57AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.