Scalar. Returns the Unicode code point for a particular character.
The following example determines the Unicode code point of the first character of a column in the stream InStream. Because only the first character is converted, column contents of both D and Dog are converted to 68.
INSERT INTO OutStream SELECT ASCII(InStream.StringColumn1) FROM InStream;