Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.3 KB

default-driver-subkey.md

File metadata and controls

32 lines (27 loc) · 1.3 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Default Driver Subkey
Default Driver Subkey
David-Engel
davidengel
01/19/2017
sql
connectivity
conceptual
default subkey [ODBC]
registry entries for components [ODBC], default subkey
subkeys [ODBC], default subkey
drivers subkey [ODBC]

Default Driver Subkey

The Default subkey contains a single value that describes the driver used by the default data source. The format of this value is shown in the following table.

Name Data type Data
Driver REG_SZ default-driver-description

The default-driver-description name is the same as the name of the value under the ODBC Drivers subkey that describes the driver.

For example, if the default data source uses the SQL Server driver, the value under the Default subkey might be:

Driver : REG_SZ : SQL Server  

Note

The default driver contained in the Default subkey can refer to either a default user DSN or a default system DSN. If both a default user DSN and a default system DSN have been created, the default driver is determined by the DSN that was created last, so it might not be a valid entry for the DSN that was created first.