QuoteDelimiter Property
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。
The QuoteDelimiter property controls Microsoft SQL Server interpretation of identifier strings in statements submitted for execution.
语法
object.QuoteDelimiter [= value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetQuoteDelimiter(LPBOOL pRetVal);
HRESULT SetQuoteDelimiter(BOOL NewValue);
注释
If TRUE, identifiers can be delimited by double quotation marks and character literal values must be delimited by single quotation marks.
If FALSE, identifiers cannot be quoted and must follow all Transact-SQL rules for identifiers. For example, character literal values can be delimited by either single or double quotation marks.
QuoteDelimiter controls identifier interpretation for a SQL Server database. If QuoteDelimiter is TRUE, connection-specific control for the behavior is ignored. If QuoteDelimiter is FALSE, interpretation of identifier strings is determined by each client connection and can be reset at any time the client is connected.