Show TOC

QUOTED_IDENTIFIER Option [TSQL]Locate this document in the navigation structure

Controls the interpretation of strings that are enclosed in double quotes.

Allowed Values

ON, OFF

Default

ON

OFF for Open Client connections.

Scope

Option can be set at the database (PUBLIC) or user level. At the database level, the value becomes the default for any new user, but has no impact on existing users. At the user level, overrides the PUBLIC value for that user only. No system privilege is required to set option for self. System privilege is required to set at database level or at user level for any user other than self.

Requires the SET ANY PUBLIC OPTION system privilege to set this option. Can be set temporary for an individual connection or for the PUBLIC role. Takes effect immediately.

Remarks

QUOTED_IDENTIFIER controls whether strings enclosed in double quotes are interpreted as identifiers (ON) or as literal strings (OFF). This option is included for Transact-SQL compatibility.

SAP IQ Cockpit and Interactive SQL set QUOTED_IDENTIFIER temporarily to ON, if it is set to OFF. A message is displayed informing you of this change. The change is in effect only for the SAP IQ Cockpit or Interactive SQL connection. The JDBC driver also temporarily sets QUOTED_IDENTIFIER to ON.