Generating Random Letters in MS SQL

The following code is run to generate random letters in Ms Sql.

SELECT char(cast((90 - 65 )*rand() + 65 as integer))



You May Interest

Using MS SQL Order By

Benefits of Using Stored Procedures in MS SQL

Deleting Table With Query in MS SQL

Getting Rows in a Table in Random Order in MS SQL

What is the Filtered Index in SQL Server ?