codeacrobat has asked for the wisdom of the Perl Monks concerning the following question:
Everything seemed to work except the "quit" line I added to quit sqlplus. It was printed to STDOUT instead delete.sqlcp insert.data delete.sql perl -F';' -ani -e 'print "delete from atable where afield = $F[0]\n"; + END {print "quit\n"}' delete.sql sqlplus ... @delete.sql sqlldr loadme.ctl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: inplace edit and END block
by Roy Johnson (Monsignor) on Apr 18, 2006 at 17:50 UTC | |
by codeacrobat (Chaplain) on Apr 18, 2006 at 19:40 UTC |