Understanding the ASCII() Function in SQL Server: A Complete Guide

Rumman Ansari   Software Engineer   2024-07-21 09:32:02   5734  Share
Subject Syllabus DetailsSubject Details
☰ TContent
☰Fullscreen

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