PHP : Function Reference : ODBC Functions (Unified) : odbc_tableprivileges
Examples ( Source code ) » odbc_tableprivileges
<?
$r = odbc_connect($directdsn, $db_user, $db_pass);
// statistics
// tableprivileges
$rh = odbc_tableprivileges($r,'','test','%');
//var_dump($rh);
echo "resource? ".is_resource($rh)."\n";
if ($rh == NULL) {
echo odbc_errormsg();
}
echo odbc_close($r);
?>
|