I am guessing you are using DBD::ODBC - if not, ignore.
I presume the restore database is a procedure? If procedures in MS SQL Server output print messages you need to keep calling odbc_more_results on the statement handle until it returns false. See http://cpansearch.perl.org/src/MJEVANS/DBD-ODBC-1.23/t/20SqlServer.t for an example.
In reply to Re: DBI continuing execution after a warning/informational message
by mje
in thread DBI continuing execution after a warning/informational message
by aksaravanan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |