Partager via


QuoteDelimiter Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The QuoteDelimiter property controls Microsoft SQL Server interpretation of identifier strings in statements submitted for execution.

Syntaxe

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);

Notes

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:

DBOption Object