QUOTENAME returns a Unicode string with the delimiters added to make the input string a valid SQL Server delimited identifier.
SELECT QUOTENAME('abcdef') --result: [abcdef]
SELECT QUOTENAME('abc-def') --result: [abc-def]
SELECT QUOTENAME('abc[]def') --result: [abc[]]def]
No comments:
Post a Comment