QuoteDelimiter Property (SQL-DMO)

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

Applies To

DBOption Object

Syntax

object.QuoteDelimiter [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

When True, identifiers can be delimited by double quotation marks and character literal values must be delimited by single quotation marks.

When 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. When QuoteDelimiter is True, connection-specific control for the behavior is ignored. When QuoteDelimiter is False, interpretation of identifier strings is determined by each client connection and can be reset at any time the client is connected.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetQuoteDelimiter(LPBOOL pRetVal);

HRESULT SetQuoteDelimiter(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.