rt£¬3qÖ»ÓÐÓ¢ÎÄµÄ ÎÒÓÐÖÐÎĵ쬻ØÍ··¢Óʼþ¸øÎÒ ÎÒ·¢¸øÄ㣬²»¹ý²»ÊÇÈ«²¿¶¼ÊÇÖÐÎĵ쬵«ÊÇ˵Ã÷»¹ÊÇÖÐÎĵģ¬ÀýÈ磺 Oracle/PLSQL: Ascii Function ·µ»ØÓëÖ¸¶¨µÄ×Ö·û¶ÔÓ¦µÄÊ®½øÖÆÊý
The syntax for the ascii function is:
ascii( single_character )
single_character is the specified character to retrieve the NUMBER code for. If more than one character is entered, the function will return the value for the first character and ignore all of the characters after the first.
Applies To:
Oracle 8i, Oracle 9i, Oracle 10g, Oracle 11g
For example:
ascii('t') would return 116. ascii('T') would return 84. ascii('T2') would also return 84.