SQL QUOTENAME Function

Example

Return a Unicode string with bracket delimiters (default):

SELECT QUOTENAME('abcdef');

Definition and Usage

The QUOTENAME() function returns a Unicode string with delimiters added to make the string a valid SQL Server delimited identifier.

Syntax

QUOTENAME(string, quote_char)

Continue reading SQL QUOTENAME Function