When searching for a list of products, the @SearchType parameter is optional. If @SearchType is empty or NULL then it should return al
@SearchType
NULL
WHERE p.[Type] = isnull(@SearchType, p.[Type])