thor has asked for the wisdom of the Perl Monks concerning the following question:
I could write an error handler and have it look for messages from the server, but was wondering if there was some way to do it automagically.use warnings; use strict; use DBI; my $dbh = DBI->connect( "dbi:Sybase:server", "sa", $ENV{SYBPW}, { ChopBlanks => 1, RaiseError => 1, PrintError => 1, } ); $dbh->do( "dump database non_existant_db to 'non-existant file'" );
Thanks in advance,
thor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::Sybase and dump dataabse
by jZed (Prior) on May 14, 2004 at 21:25 UTC | |
|
Re: DBD::Sybase and dump dataabse
by mpeppler (Vicar) on May 15, 2004 at 05:44 UTC | |
by thor (Priest) on May 15, 2004 at 15:18 UTC | |
by mpeppler (Vicar) on May 16, 2004 at 05:43 UTC |