SyntaxFix
Write A Post
Hire A Developer
Questions
select * from tbl1 where datetime_column >= DATEADD(m, -6, convert(date, convert(varchar(6), getdate(),112) + '01'))