develooper Front page | perl.dbi.users | Postings from April 2010

How to discard the error in SQL query

Thread Next
From:
Parag Kalra
Date:
April 30, 2010 12:40
Subject:
How to discard the error in SQL query
Message ID:
v2x736082cf1004301239u783d3e4bn2b2a86d60f490cff@mail.gmail.com
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


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About