Entering content frame

 SQL Mode (UNIX/Linux) 

Use

By changing the option SQLMode, you can use the MaxDB ODBC driver in a different SQL mode. This means that the driver can process not only the ODBC and MaxDB-specific SQL syntax, but also the ORACLE or DB2 syntax, for example.

The system default value is INTERNAL(see also the Reference Manual, in the section SQL Mode).

If you migrate ODBC applications from other database systems, specifying this option can simplify the way the SQL statements are customized.

Syntax

SQLMode =
  INTERNAL
| DB2
| ANSI
| ORACLE

For a description of the MaxDB-specific SQL mode INTERNAL, see the Reference Manual, in the section SQL Mode.

Procedure

To change the SQLMode option, follow the procedure described under Creating and Changing Data Sources on UNIX/Linux.

The value defined in this way then applies for all connections of the data source.

 

Leaving content frame