FAQ
Hi Everyone:

I want to connect to an Oracle database and test for the existence of
a table. My first thought was to SELECT COUNT(*) FROM TABLE, but
DBI catches the ORA-942 error and I don't know how to catch that.
It throws the error during the $dbh->execute step; how do I catch
an Oracle error returned from that step?

Or...is there a better way?

Thanks,
Mike

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 6 | next ›
Discussion Overview
groupdbi-users @
categoriesperl
postedJun 6, '05 at 8:11p
activeJun 7, '05 at 1:11p
posts6
users5
websitedbi.perl.org

People

Translate

site design / logo © 2022 Grokbase