Scary part is over 30% (at the time of this post) got it wrong. Many QoDs are quite tricky but this one is very basic and really not SQL specific (data type conversion or casting is an ABC of any programming language).
Looks like a concept of code review or inspection is missing way too often...
For me the really scary part is that I agree wth JacekO's comment and
I got it wrong! Maybe senile dementia is setting in!!!