Entering content frame

Background documentation SQL Mode (Microsoft Windows) Locate the document in its SAP Library structure

Use

If you specify the option SQL Mode, 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.

Specifying this option can simplify the customization of SQL statements during the migration from ODBC applications from other database systems.

Note

For a description of the SAP DB-specific SQL mode INTERNAL, see the Reference Manual: SAP DB 7.4, SQL Mode section.

Procedure

  1. Start the ODBC Data Source Administrator by choosing Start ® Settings ® Control Panel ® Administrative Tools ® Data Sources.
  2. Choose Add.
  3. Choose the SAP DB ODBC driver and then Finish.
  4. Specify the name of the data source, the name of the database instance, and the name of the database server. Choose Options.
  5. In the SQL Mode field, choose the desired SQL mode.
  6. Confirm the windows until the ODBC Data Source Administrator closes.

Result

The next time that you log on to the database server using this data source, the SAP DB ODBC driver functions in the selected SQL mode.

Leaving content frame