Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: sqlplus or DBI

by metadatum (Scribe)
on Nov 18, 2002 at 18:19 UTC ( [id://213837]=note: print w/replies, xml ) Need Help??


in reply to sqlplus or DBI

the system call returns an error code -- and thats all.
If you want to be able to parse the output, use backticks:
@results = `sqlplus user/pass \@test.sql`;

Replies are listed 'Best First'.
Re: Re: sqlplus or DBI
by x31forest (Novice) on Nov 18, 2002 at 18:24 UTC
    Yea but the error code is not correct. Even if I have errors in my sql, it still returns 0, success.
    What would I be parsing the output for ?
    thanks,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2024-04-23 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found