The Open Data Services ODBC driver has the capability of exposing support for multiple languages in the DBMS. If multiple languages are supported, the IDS_LANGUAGE_QUERY string is the SQL statement used to fill in a list box of the supported languages. The user can then select one of these languages during SQLDriverConnect.
The initial selection of the list box is set to the language returned from the IDS_DEF_LANGUAGE_QUERY string. The language is set by the Open Data Services ODBC driver sending the IDS_AUX_LANGUAGE string, with the language appended to the gateway for processing. The language can also be set during DSN setup or can be passed to SQLDriverConnect using the LANGUAGE keyword. If the IDS_LANGUAGE_QUERY string is empty, the language control in the dialog boxes is disabled and the LANGUAGE keyword in the connection string is ignored.