This seems like it should be really easy. How do I display yesterday's date on a report? Right now, I have it as 'Today()' but the data is really as of yesterday.
I thought that would be the obvious command but I get "Parsing error on or around position 14 in the expression: "_add_days(date,-1) "" I don't see a typo in there. The getdate command is not recognized. Any other thoughts?
Getdate() should work if you are on SQL Server and have included the function set in the package.
To be honest we have seen some pretty strange (= inconsistent) behavior with database native functions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.