Is this what you are looking for?
select * from table where date of transaction > dateadd (MONTH, -6, GETDATE())
No comments:
Post a Comment