FileDataSourceName connection parameter [FileDSN]

Function

Tells the client library that there is an ODBC file data source holding information about the database to which you want to connect.

Usage

Anywhere

Values

String

Default

There is no default name.

Description

File data sources hold the same information as ODBC data sources stored in a registry. File data sources can be easily distributed to end users, so that connection information does not have to be reconstructed on each machine.

Both ODBC and Embedded SQL applications can use File data sources.

Examples

The following is a data source description held in a File data source:

[Sample File Data Source]
ENG=iqdemo
DBA=DBA 
PWD=SQL

See also

“DataSourceName connection parameter [DSN]”