Returns the current value of an ODBC driver connection attribute.
status = DB_GetConnectAttr (hdbc, attr-id, attr-value)
Status of the get operation. Returns TRUE If the get operation was successful. Otherwise, returns FALSE. BOOLEAN.
The handle to a database as returned by DB_Connect. HDATABASE.
The attribute identifier to retrieve. INTEGER.
The string or integer variable to receive the driver attribute. ANYTYPE.
DB_GetConnectAttr corresponds to SQLGetConnectAttr. For additional information about SQLGetConnectAttr, see SQLGetConnectAttr Function.
The value of attr-id might depend on the driver. Some attr-id values are common or standard.
STRING s2 //Attribute identifier 105 is used to set or get the log file name result = DB_GetConnectAttr(hdbc, 105, s2) Print(s2)