jujiro_eb has asked for the wisdom of the Perl Monks concerning the following question:
Or using __DATA__ marker. I am sure you get the idea that I want to pass a bunch of SQL statments to sqlplus and capture the stdout (Which I know how to do). I do not want to resort to storing sql statements in a separate file and using something like this:system ("sqlplus.exe -s uid/pwd@myserver "); <<EOT select * from emp; exit EOT
Any help will be highly appreciated.system ("sqlplus.exe -s uid/pwd@myserver @myscript.sql");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question on inline redirection
by kyle (Abbot) on Mar 17, 2009 at 18:55 UTC | |
by jujiro_eb (Sexton) on Mar 17, 2009 at 21:01 UTC | |
by Anonymous Monk on Apr 28, 2012 at 22:14 UTC | |
|
Re: Question on inline redirection
by JavaFan (Canon) on Apr 28, 2012 at 22:59 UTC |