Re: Passing DateDiff rather than Actual Dates as Parameters
- From: "laurenq uantrell" <laurenquantrell@xxxxxxxxxxx>
- Date: 28 Nov 2005 20:25:52 -0800
Oops,
I meant:
SELECT @TodayDate = GETDATE()
SELECT @StartDate = DATEADD(DAY,@StartDaysDiff,@TodayDate)
SELECT @EndDate = DATEADD(DAY,@EndDaysDiff,@TodayDate)
.
- References:
- Passing DateDiff rather than Actual Dates as Parameters
- From: laurenq uantrell
- Passing DateDiff rather than Actual Dates as Parameters
- Prev by Date: Re: Format() Function in MS SQL
- Next by Date: Re: Format() Function in MS SQL
- Previous by thread: Passing DateDiff rather than Actual Dates as Parameters
- Next by thread: Re: Passing DateDiff rather than Actual Dates as Parameters
- Index(es):
Relevant Pages
|