Viewing post 1 (of 1 total)
Another way i commonly use is an extension on the above
WHERE
((@customerid is not null and customerid = @customerid) or @customerid is null)
October 8, 2006 at 11:49 pm
#664744