SyntaxFix
Write A Post
Hire A Developer
Questions
You can simplify to:
WHERE a.Country = COALESCE(NULLIF(@Country,0), a.Country);