Viewing 3 posts - 1 through 3 (of 3 total)
Hi Guys,
Thanks for the replies. I tried the 'temp table' method with a temp table datatype instead of an actual temp table as its supposed to be faster. It...
July 17, 2006 at 6:43 am
#649502
The ID has a clustered index on it.
July 16, 2006 at 8:11 am
#649430
@LOCATION CHAR(25) = ‘ ‘,
AND ((@LOCATION = ' ')OR(LOCATION = @LOCATION) OR (@LOCATION IS NULL AND LOCATION IS NULL))
I would think that your last OR condition is never going to...
July 14, 2006 at 8:09 am
#649267