Only the first character in the string is evaluated. 40> DECLARE @ASCII_STRING CHAR(5) 41> SET @ASCII_STRING = "www.java2java.com java2s" 42> SELECT ASCII(@ASCII_STRING) 43> GO ----------- 119 (1 rows affected)