Skip to content

Returns the ASCII code of the first character in a string.

func.ascii(<str>)
func.ascii('A')
┌────┐
65
└────┘
ASCII(<str>)
SELECT ASCII('A');
┌────┐
65
└────┘