This is a case of RTFM

 

http://search.cpan.org/~timb/DBI-1.611/DBI.pm#PrintError_(boolean,_inherited)

 

PrintError will just print the error and go on its merry way
 
> From: paragka...@gmail.com
> Date: Fri, 30 Apr 2010 12:39:38 -0700
> Subject: How to discard the error in SQL query
> To: dbi-users@perl.org
> 
> Hi All,
> 
> I am executing list of SQL queries from a file. Currently if there is any
> error (like syntax issue) in any of the sql query it doesn't processes the
> other remainig queries.
> 
> I tried executing the queries in 'eval' but it doesn't seem to work. I am
> using DBI and DBD::Oracle
> 
> Cheers,
> Parag
                                          
_________________________________________________________________
Got a phone? Get Hotmail & Messenger for mobile!
http://go.microsoft.com/?linkid=9724464

Reply via email to