As stated in the question, I am curious why is it on SQL Server when we do:
SELECT 1+'A'
It throws an error:
Conversion failed when converting the varchar value 'A' to data type int.
But when I do:
select count(1+'A')
I get a value of 1?
Why does it not throw an error?