Last updated 1 year ago
Returns a string delimited using quotes ().
string_expression: String to delimit.
string_expression
quote_character: one-character to delimit the string.
quote_character
NVARCHAR(258). Null if the quote is different of ('), ([]), ("), ( () ), ( >< ), ({}) or (`).
NVARCHAR(258)
QUOTENAME( string_expression [, quote_character])
SELECT QUOTENAME('Hello', '`') AS HELLO;
HELLO| ---------+ `Hello`|