ASCII
- American Standard Code for Information Interchange.
- Computer can understand only numbers.
- ASCII is the numeric representation of a character.
Syntax
SELECT CHAR(Expression)
A string function that converts an int ASCII code to a character.
Return type is CHAR.
Expression is integer value i.e. range from 0 to 255
Example
SELECT CHAR(97) AS [ASCII Character of Number 97]
SELECT ASCII('a') AS [ASCII Number of Character a]
SELECT CHAR(65) AS [ASCII Character of Number 67]
SELECT ASCII('A') AS [ASCII Number of Character A]
Output
ASCII Values


Rupesh KahanePosted Jun 24, 2014, 12:10 AM
Thank you Prerana Mam
Rupesh KahanePosted Jun 24, 2014, 12:09 AM
Thank you Abhijeet...
Prerana TiwariPosted Jun 23, 2014, 10:38 PM
Good article.........
Abhijeet ChavanPosted Jun 23, 2014, 10:35 PM
nice sir...
Rupesh KahanePosted Jun 23, 2014, 8:13 AM
Thank you Anupam Sir
Anupam SinghPosted Jun 23, 2014, 7:57 AM
Good one !!