Answers for "mysql delete where date older than"

SQL
0

select row from mysql where date more than 30 days

mysql> delete from DemoTable where UserMessageSentDate < now() - interval 30 DAY;
Query OK, 3 rows affected (0.11 sec)
Posted by: Guest on July-03-2020

Code answers related to "mysql delete where date older than"

Code answers related to "SQL"

Browse Popular Code Answers by Language