Data.SqlExpr.TSQLConnection.DriverName
Delphi
property DriverName: string read FDriverName write SetDriverName;
C++
__property System::UnicodeString DriverName = {read=FDriverName, write=SetDriverName};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLConnection |
Description
Specifies the database driver associated with the SQL connection.
If you are not using named connections, set DriverName to the name of an installed dbExpress driver such as ASA, ASE, Datasnap, Db2, Firebird, Informix, InterBase, MSSQL, MSSQL9, MySQL, Odbc, and Oracle. Installed drivers are listed in the dbxdrivers.ini
file, and their names can be retrieved using the GetDriverNames function.
If you are using named connections, the DriverName property is automatically set when you set the ConnectionName property.
When you set DriverName, TSQLConnection automatically sets the LibraryName and VendorLib properties to the names of the libraries (DLLs or shared objects) that implement the specified driver.
Note: At design time, the DriverName property is only accessible through the virtual Driver property, which can be seen in the Object Inspector.
See Also
- Data.SqlExpr.TSQLConnection.LibraryName
- Data.SqlExpr.TSQLConnection.VendorLib
- Data.SqlExpr.TSQLConnection.ConnectionName
- Data.SqlExpr.GetDriverNames
- Setting Up TSQLConnection
- Configuring TSQL Connection
- Connecting to Databases with TDatabase