BETWEEN ISNULL ...
Hi,Is the below valid syntax?AND [Order Date] BETWEEN ISNULL(@FROMDATE, 'From Date') AND ISNULL(@TODATE, 'To Date')If not is there any way of writing what I'm trying here?CheersPaul
View ArticleBETWEEN ISNULL ...
What are you trying to do with this formula? It looks like you are setting the value of a date parameter to a string when it is null. I do not think that will work. Should be a default date. What error...
View ArticleBETWEEN ISNULL ...
Hi Paul,try like this ,AND [Order Date] BETWEEN (@FROMDATE) AND (@TODATE)here is what the exact information what you are looking for -http://msdn.microsoft.com/en-us/library/aa337401.aspxRefer this...
View ArticleBETWEEN ISNULL ...
Not sure what you're trying to do, but if you're trying to remove the lower or upper limit if a NULL is used, the following will work:AND [Order Date] BETWEEN ISNULL(@StartDate, [Order Date]) AND...
View Article