What I want to do is to let the system date dictate what my reporting year should be in this query:
EXEC [reporting].[Testing]
@CompanyNames = NULL,
@ReportYear = 2020
to something like this:
EXEC [reporting].[Testing]
@CompanyNames = NULL,
@ReportYear = YEAR(SYSDATE())
Any thoughts?
Thank you