• select *

    from table

    where country in (@countryparameter)

    and customertype in (@customertypeparameter)

    and (@name IS NULL OR contains(name,@name))

    would this work?

    SQLServerNewbieMCITP: Database Administrator SQL Server 2005