SQL 2008 Char Function
In this article i will explain how to use char function in SQL..
Introduction
It is one of the string function. Char function returns the character for each integer passed.
Note- Integer must be from 0 through 255. If integer is out of range then NULL is returned.
Syntax
Char (integer_expression)
|
where integer_expression is an integer, whose character function to be returned.
Example
Return character for integer passed.
Return NULL if integer is out of range.
Return character for numbers 0 to 255