Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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)
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #select #row #mysql #date #days
ADD COMMENT
Topic
Name
4+1 =