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

Re: Re: How can I invoke SQLPLUS within a perl script?

by Anonymous Monk
on Mar 31, 2001 at 07:08 UTC ( #68608=note: print w/replies, xml ) Need Help??


in reply to Re: How can I invoke SQLPLUS within a perl script?
in thread How can I invoke SQLPLUS within a perl script?

Thanks. How about using "here document" ? Something like: sqlplus username/pwd <<EOF some sql code... EOF I could not make it work.
  • Comment on Re: Re: How can I invoke SQLPLUS within a perl script?

Replies are listed 'Best First'.
Re: Re: Re: How can I invoke SQLPLUS within a perl script?
by jorg (Friar) on Apr 01, 2001 at 00:24 UTC
    sure you would then do:
    my $command= <<COMMAND; sqlplus / username/password @runthisfile.sql COMMAND
    then plug $command into the above described functions

    Jorg

    "Do or do not, there is no try" -- Yoda

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-10-20 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (81 votes). Check out past polls.

    Notices?