SyntaxFix
Write A Post
Hire A Developer
Questions
You've probably tried this, but are your specifications such that you can do this?
DECLARE @city varchar(75) DECLARE @count INT SET @city = 'London' SELECT @count = COUNT(*) FROM customers WHERE City = @city