Jaki1980 has asked for the wisdom of the Perl Monks concerning the following question:
It is working fine as far as conecting to the database , however it is not finiding my $sqlsource eventhough I am in the righ directory , I get error like thismy $sqlsource = mySql.sql open( SQLPLUS, "|sqlplus /nolog") or die "Can't rus sqlplus\n" ; print SQLPLUS <<SQL; connect USERNAME/PASS\@INST \@$sqlsource SQL
Is it the way I am calling the script , I am not sure if it is adding a space or somthing . Can someone advice please? thanksSQL> Connected. SQL> unable to open file "mySql.sql"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sql prompt not finding file
by Plankton (Vicar) on Jan 15, 2004 at 23:06 UTC | |
by Jaki1980 (Novice) on Jan 16, 2004 at 15:53 UTC | |
|
Re: sql prompt not finding file
by CountZero (Bishop) on Jan 15, 2004 at 23:04 UTC | |
|
Re: sql prompt not finding file
by pg (Canon) on Jan 15, 2004 at 22:58 UTC |