ASCII

ASCII(string)

Parameters

  • string - an argument.

Description

Return the ASCII value of the first character in the string. This method returns an int.

Example

select ASCII(name) FROM Players;