次の方法で共有


QuotedIdentifier Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

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

構文

object
.QuotedIdentifier [= 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 GetQuotedIdentifier(LPBOOL pRetVal);
HRESULT SetQuotedIdentifier(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.

QuotedIdentifier controls identifier interpretation only for the connection used by the SQLServer object. Specifically, setting QuotedIdentifier does not affect other client connections to any instance of SQL Server, including other connections established by the SQL Distributed Management Objects (SQL-DMO) application.

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

Applies To:

SQLServer Object

UserDefinedFunction Object

参照

関連項目

QuoteDelimiter Property

その他の技術情報

SET QUOTED_IDENTIFIER (Transact-SQL)

ヘルプおよび情報

SQL Server 2005 の参考資料の入手