Hello,
I seek SQL syntax that would help me achieve the following:
If current month = Aug, then get data for all previous months,(i.e Jul, Jun, May, etc...) from the ACTUALS table. Else pull data for the months from the PLAN table (i.e Aug, Sep, Oct, etc...)
Please let me know if I can clarify.
FYI - This is for a DTS process.
Thanks so much,
Dalex
I seek SQL syntax that would help me achieve the following:
If current month = Aug, then get data for all previous months,(i.e Jul, Jun, May, etc...) from the ACTUALS table. Else pull data for the months from the PLAN table (i.e Aug, Sep, Oct, etc...)
Please let me know if I can clarify.
FYI - This is for a DTS process.
Thanks so much,
Dalex