I have a legacy code and need to run this from perl. I can not use DBI as this needs to fit in legacy.
system("sqlplus \/NOLOG <<EOF connect scott\/tiger\@store; select sysdate from dual;
exit
EOF ");
This does not work and keeps prompting me for help on sqlplus. Seems somewhere may be at << it fails and gives
wrong results.
Any idea how can I do this? Thanks.
system("sqlplus \/NOLOG <<EOF connect scott\/tiger\@store; select sysdate from dual;
exit
EOF ");
This does not work and keeps prompting me for help on sqlplus. Seems somewhere may be at << it fails and gives
wrong results.
Any idea how can I do this? Thanks.