SoftadminGuide.Sql_QuoteName

Show allHide all
Type: Scalar function

Unlike the built-in QUOTENAME function this function will try to avoid quoting names that obviously do not need it.

Input QUOTENAME SoftadminGuide.Sql_QuoteName Comment
Country [Country] Country Only contains A-Z. Does not require escaping.
Order [Order] [Order] ORDER is a keyword.
Test* [Test*] [Test*] The string contains special characters.

Parameters

@ObjectName mandatory sysname