I know this one's easy, but it's Friday, and I'm tired. But, I am passing a start date and end date via parameters into a stored procedure. And, I need to set variables that where it's the same month/day for each, but for last year.
There are probably 100's of you that have done this, but I haven't had the pleasure.
How?