QuotedIdentifier Property (SQL-DMO)

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

Applies To

SQLServer Object

Syntax

object.QuotedIdentifier [= 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.

QuotedIdentifier controls identifier interpretation only for the connection used by the SQLServer object. Specifically, setting QuotedIdentifier does not affect other client connections to any SQL Server installation, including other connections established by the SQL-DMO application.

Interpretation of identifier strings behavior can be set for a SQL Server database. When the database setting is used, and when the database behavior allows quoted identifiers to be used, then the setting for the connection is ignored.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetQuotedIdentifier(LPBOOL pRetVal);

HRESULT SetQuotedIdentifier(BOOL NewValue);

See Also
QuoteDelimiter Property SET QUOTED_IDENTIFIER

  


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