DelimitIdentifier

Description

Specifies whether you want DataWindow Designer to enclose the names of tables, columns, indexes, and constraints in double quotes when it generates SQL statements. This affects the behavior of any DataWindow Designer painter that generates SQL syntax.

Applies to

Syntax

DelimitIdentifier = 'value'

Parameter

Description

value

Specifies whether you want DataWindow Designer to enclose table and column names in double quotes. Values are:

  • Yes Use double quotes

  • No Do not use double quotes

Default

The default value for the DelimitIdentifier parameter depends on the DBMS you are accessing, as follows:

DBMS

DelimitIdentifer default value

ADO.NET

DelimitIdentifier = 'No'

Informix

DelimitIdentifier = 'No'

ODBC

Depends on the DelimitIdentifer setting in the PBODB105 initialization file

Oracle

DelimitIdentifier = 'Yes'

OLE DB

DelimitIdentifier = 'Yes'

Sybase DirectConnect

DelimitIdentifier = 'No'

Sybase Adaptive Server Enterprise

DelimitIdentifier = 'No'

Usage

Informix Informix database servers can create a log of database transactions in either ASCII or non-ASCII format. If the database is creating a non-ASCII log, the setting of the DelimitIdentifier is optional. If the database is creating an ASCII log, you must set DelimitIdentifier = 'Yes' to make the SQL syntax generated by DataWindow Designer behave as expected.

Sybase Adaptive Server Enterprise When you set DelimitIdentifier to 'Yes', the “set quoted_identifier on” command is automatically sent to Adaptive Server to adjust your database connection on the server. Otherwise, the “set quoted_identifier off” command is sent to the server. This feature occurs with SYC, JDBC, ODBC, and OLE DB interfaces.

Microsoft SQL Server When you set DelimitIdentifier to 'Yes', the “set quoted_identifier on” command is automatically sent to Microsoft SQL Server to adjust your database connection on the server when you use OLE DB. Otherwise, the “set quoted_identifier off” command is sent to the server.

ODBC The DelimitIdentifier parameter setting overrides the DelimitIdentifier setting specified for your ODBC driver in the PBODB105 initialization file.

DirectConnect If you want to use mixed-case identifier names, you must set DelimitIdentifier = 'Yes'. Also, you must set LowerCaseIdent = 'No' to preserve case sensitivity of identifiers stored in the DB2 system catalog.

Examples

Example 1

To specify that DataWindow Designer should not enclose table and column names in double quotes when it generates SQL statements:

See also

LowerCaseIdent