Table of Contents

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

    Understanding the ASCII() Function in SQL Server: A Complete Guide
    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