QUOTENAME

Description

Returns a string delimited using quotes (QUOTENAME in Transact-SQL).

Sample Source Pattern

Syntax

QUOTENAME( string_expression [, quote_character])

Arguments

string_expression: String to delimit.

quote_character: one-character to delimit the string.

Return Type

NVARCHAR(258). Null if the quote is different of ('), ([]), ("), ( () ), ( >< ), ({}) or (`).

Examples

SELECT QUOTENAME('Hello', '`') AS HELLO;

Last updated