Name
sql_get_private_profile_string — Gets the DSN's attributes list
Synopsis
vector
sql_get_private_profile_string
(
|
in dsn varchar , |
in
type
varchar
) ; |
Description
This function corresponds to the ODBC catalog call of similar name. It and related functions are used by the virtual database to query remote data dictionaries.
The type argument must be either 'system' or 'user'.
Gets the data source attributes by calling SQLGetPrivateProfileString from the ODBC Installer API.
Parameters
dsn
is the first argument passed to SQLGetPrivateProfileString.
type
denotes the DSN type.
Return Types
Returns an array of 2-element arrays representing the name/value pairs.
See Also
sql_data_sources
,
sql_columns
sql_primary_keys
,
sql_gettypeinfo
,
sql_statistics
,
sql_tables
.