Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Logging and and capturing sqlplus parameters and results in log

by afoken (Chancellor)
on Sep 09, 2011 at 06:02 UTC ( [id://925019]=note: print w/replies, xml ) Need Help??


in reply to Logging and and capturing sqlplus parameters and results in log

There is no PERL. The name of the language is Perl, the name of the interpreter is perl. And perl is typically NOT a shell.

In Perl, you don't want to mess with sqlplus. You use DBI and DBD::Oracle. Errors can be handled "as usual" (i.e. eval {} and $@) if you use set the RaiseError attribute of the database handle, typically by including it in the attr hash of the DBI connect method.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://925019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found