Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

What is a DB_Tester connection string?

What is a DB_Tester connection string?

DB_Tester is that part of SilkTest which allows database access through an ODBC driver.

The connection string is a string version of the initialisation properties needed to connect to a Database through the ODBC driver for that specific Database. It is important to adhere to the specific syntax for each driver or the connection will fail.

The following show examples of commonly used ODBC connection strings listed by:

  • Data Source Driver
  • ODBC Connection String

Microsoft Data Access

Driver={Microsoft Access Driver (*.mdb)};DBQ=physical path to .mdb file

SQL Server

DRIVER={SQL Server};SERVER=path to server

Oracle

DRIVER={Microsoft ODBC for Oracle};SERVER=path to server

Microsoft Excel

Driver={Microsoft Excel Driver (*.xls)};DBQ=physical path to .xls file; DriverID=278

Microsoft Excel 97

Driver={Microsoft Excel Driver (*.xls)};DBQ=physical path to .xls file;DriverID=790
Text
Driver={Microsoft Text Driver (*.txt;*.csv)};DefaultDir=physical path to .txt file

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:25
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.