Name
GetFunctions
Synopsis
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}=Value
For example:
$Results = $O->GetFunctions( $O->SQL_API_SQLTRANSACT, SQL_API_SQLSETCONNECTOPTION ); $ConnectOption = $Results{SQL_API_SQLSETCONNECTOPTION}; $Transact = $Results{SQL_API_SQLTRANSACT};
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.