mtassin (11/1/2012)
Oh and of course I got it wrong... because I just went with
SELECT ASCII('Z')-ASCII('0')
That's pretty much what I did, but I did it in my head rather than using code. I was 100% sure this would be the wrong answer, mind you, I was just curious to see what the right one was! 🙂