ASCII:return the ASCII numeric value of the leftmost character of a string
1> -- ASCII:return the ASCII numeric value of the leftmost character of a string.
2> -- Only the first character in the string is evaluated.
3>
4> DECLARE @ASCII_STRING CHAR(5)
5> SET @ASCII_STRING = "www.java2java.com"
6> SELECT ASCII(@ASCII_STRING)
7> GO