Вы находитесь на странице: 1из 1

DumpError

Dump to the screen details about the last error condition. This includes error number, error text and the
ODBC connection number that caused the error (if there is one). This is used primarily for debugging.

Example:
$db = new Win32::ODBC("My DSN");
if (undef $db){
Win32::ODBC::DumpError();
}
if ($db->Sql("Select * FROM foo")){
$db->DumpError;
}

Вам также может понравиться