starbase59
MIS
Currently I passing start date and end date parameters in a stored procedure.
Rather than having to manually enter the parameters, I want to incorporate a sql formula using datediff and/or dateadd, such that it will take today's date and return a period of the last full business week.
In other words,for example, if today were 10/28/03, the start date would return 10/20/03 and the end date would return 10/24/03.
This way the report runs more automatically.
Thank you!
Rather than having to manually enter the parameters, I want to incorporate a sql formula using datediff and/or dateadd, such that it will take today's date and return a period of the last full business week.
In other words,for example, if today were 10/28/03, the start date would return 10/20/03 and the end date would return 10/24/03.
This way the report runs more automatically.
Thank you!