Thank you for that helpful information. I thought I was going mad!
It would never have occurred to me to write a join which relied on an implicit cast between int and string. However, every language that I have ever used will implicitly convert an integer 1 to a smallint (or short) 1 when required to do so. How can such a cast be called "surprising behaviour", or produce "misleading results", to quote the first article?
--- On Fri, 9/4/10, Greg Smith <greg@xxxxxxxxxxxxxxx> wrote:
|