Viewing 2 posts - 1 through 2 (of 2 total)
I have gone thru your problem and found that it can be done in the following way where we are traversing the source table twice.
Will think about another solution which...
November 26, 2007 at 6:57 am
#754014
Hi
You can write query like this:
suppose say you are passing two parameters name @StartDate and @EndDate and you column name in table is TransDate
TransDate BETWEEN ISNULL(@StartDate, TransDate) AND ISNULL(@EndDate, TransDate)
May 3, 2006 at 5:23 am
#635542