ASCII() Function in SQL Server

Rumman Ansari   Software Engineer   2023-03-25   5760 Share
☰ Table of Contents

Table of Content:


To find the ACII Code of capital letter 'A'

Syntax:


ASCII(Character_Expression)

It returns the ASCII code of the given character expression.

Code:


 Select ASCII('A')

Output:

The above code will produce the following result-


65