Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Perl: the Markov chain saw
 
PerlMonks  

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

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 Mar 31, 2001 at 19: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.