Answers for "sql date get months old"

SQL
1

sql where last 12 months

select Dateadd(Month, -12, GETDATE())
Posted by: Guest on June-10-2020
0

date 3 months from today sql

SELECT * FROM MyTable
WHERE MyDate < DATEADD(month, -2, GETDATE())
Posted by: Guest on August-17-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language