All drivers, except the flat-file drivers and the Salesforce driver, have a version string of the format:
XX is the major version of the product.
YY is the minor version of the product.
ZZZZ is the build number of the driver or ICU component.
AAAA is the build number of the driver's bas component.
BBBB is the build number of the driver's utl component.
CCCC is the build number of a flat-file driver's flt component.
DDDD is the version of the Java components used by the Salesforce driver.
On Windows, you can check the version string through the properties of the driver DLL. Right-click the driver DLL and select
Properties. The Properties dialog box appears. On the Version tab, click
File Version in the Other version information list box.
On UNIX and Linux, you can check the version string by using the test loading tool shipped with the product. This tool, ivtestlib for 32-bit drives and ddtestlib for 64-bit drivers, is located in
install_directory/bin.
For example, for the 32-bit Oracle Wire Protocol driver on Oracle Solaris:
For example, for 32-bit ICU component on Solaris:
NOTE: On AIX, Linux, and Solaris, the full path to the driver does not have to be specified for the test loading tool. The HP-UX version of the tool, however, requires the full path.
Version string information can also be obtained programmatically through the function getFileVersionString. This function can be used when the application is not directly calling ODBC functions.