Viewing post 1 (of 1 total)
how is this technique all that clever? If anything, using
select *
from Customers
where customerid=isnull(@customerid,customerId)
is more efficient, easier to read and takes up less space.
October 9, 2006 at 7:18 am
#664774