June 2002
Beginner
759 pages
80h 42m
English
GetFunctions
Win32::ODBC->GetFunctions([function1,function2])
Returns an associative array indicating the ability
of the ODBC Driver to support the specified functions. If no
functions are specified, then a 100-element associative array is
returned containing all possible functions and their values.
function must be in the form of an ODBC
API constant such as SQL_API_SQLTRANSACT. The returned array will
contain the results:
$Results{SQL_API_SQLTRANSACT}=ValueFor example:
$Results = $O->GetFunctions(
$O->SQL_API_SQLTRANSACT,
SQL_API_SQLSETCONNECTOPTION
);
$ConnectOption = $Results{SQL_API_SQLSETCONNECTOPTION};
$Transact = $Results{SQL_API_SQLTRANSACT};