RE: How to discard the error in SQL query

[email protected] (John Scoles)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
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: [email protected]
> Date: Fri, 30 Apr 2010 12:39:38 -0700
> Subject: How to discard the error in SQL query
> To: [email protected]
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.