GET_DRIVER_PATH¶
Applies to: ORAFlex SQLFlex MYSQLFlex/MariaDB PGFlex
Added in Flex2SQL 18.1.
Returns the path, including the filename, of the loaded driver module. Load and select the intended Flex2SQL driver before using this command. Use it to identify which driver binary the application is actually using, for example when diagnosing an installation with multiple driver versions.
On Windows, the result is the full path of the driver DLL. On Linux, the Oracle, MySQL/MariaDB, and PostgreSQL drivers return the shared-library path reported by the system loader.
Syntax
GET_DRIVER_PATH to {variable}
Parameter |
Description |
|---|---|
variable |
String variable that receives the loaded driver module’s path and filename. |
Example
With the intended Flex2SQL driver already loaded and selected:
String sDriverPath
GET_DRIVER_PATH to sDriverPath
Showln sDriverPath
DF_DRIVER_INI_PATH retrieves the configuration-file path.
GET_DRIVER_LICENSE_PATH retrieves the license-file path.
f2s_driver_path is the Unicode Edition equivalent.