SELECT CAST(Count(1) as VARCHAR(30)) AS SourceRowCount
FROM table
where countryid= '" +@[User::Id] +"'"+ " "+"
AND locationid ="'+@[User::ID1]+'"
Expected output
SELECT CAST(Count(1) as VARCHAR(30)) AS SourceRowCount
FROM table
where countryid= 1
AND locationid =2