QuoteDelimiter Property

SQL-DMO

SQL-DMO

QuoteDelimiter Property

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

Applies To
DBOption Object  
Syntax

object.QuoteDelimiter [= value]

Part

object

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

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.