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