Name
sql_write_private_profile_string — Sets a DSN's attribute value
Synopsis
integer
sql_write_private_profile_string
(
|
in dsn varchar , |
in type varchar , | |
in name varchar , | |
in
value
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'.
Sets a data source attribute by calling SQLWritePrivateProfileString from the ODBC Installer API.
Parameters
type
denotes the DSN type.
others are passed to the SQLWritePrivateProfileString
Return Types
Returns the SQL state.
See Also
sql_data_sources
,
sql_columns
sql_primary_keys
,
sql_gettypeinfo
,
sql_statistics
,
sql_tables
.