Answers for "SOQL where date is less than 30 days"

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
0

select the date 30 days less that the todays date sql request

declare @thirtydaysago datetime
declare @now datetime
set @now = getdate()
set @thirtydaysago = dateadd(day,-30,@now)

select @now, @thirtydaysago
Posted by: Guest on May-26-2020

Code answers related to "SOQL where date is less than 30 days"

Code answers related to "SQL"

Browse Popular Code Answers by Language