SQL CHAR

SQL CHAR function is used to return a character of an int ASCII code.

SQL CHAR Function Syntax

CHAR (int)

SQL CHAR Function Example

SELECT CHAR(83) -- Return: S

SELECT CHAR(81) -- Return: Q

SELECT CHAR(76) -- Return: L

SELECT CHAR(45) -- Return: -

SELECT CHAR(100) -- Return: d

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>