Use
By changing the option
SQLMode, you can use the SAP DB ODBC driver in a different SQL mode. This means that the driver can process not only the ODBC and SAP DB-specific SQL syntax, but also the ORACLE or DB2 syntax, for example.The system default value is
INTERNAL (see also: Reference Manual: SAP DB 7.4, SQL Mode section).If you migrate ODBC applications from other database systems, specifying this option can simplify the customization of the SQL statements.
Syntax
SQLMode =
INTERNAL
| DB2
| ANSI
| ORACLE
For a description of the SAP DB-specific SQL mode
INTERNAL, see the Reference Manual: SAP DB 7.4, SQL Mode section.Procedure
To change the
SQLMode option, follow the procedure described under Creating and Changing Data Sources Under UNIX/Linux.The value defined in this way then applies for all connections of the data source.