I am trying to select records from a DB where the post_date is >= the system date and the expiry_date <= the system date. How do I do this in SQL?
I have tried to use the advanced SQL window but it did not recognise my code for the system date "formatdatetime(date, 1)" or just "date".
Caution, dates on calendar are closer then they appear.
I have tried to use the advanced SQL window but it did not recognise my code for the system date "formatdatetime(date, 1)" or just "date".
Caution, dates on calendar are closer then they appear.