Associez-les à des instructions OR :
SELECT *
FROM
Customer c
WHERE
example@sqldat.com
AND ( example@sqldat.com OR @CountyID IS NULL )
AND ( example@sqldat.com OR @CityID IS NULL )
Pour chacun de ces paramètres, s'il est nul, la vérification est fondamentalement ignorée.