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 list

  • value
    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.

Applies To: