Need Help

Need Help

 

  

Hi Gurus,

I need help


I just want to know when the below Error Comes


Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
where <option> ::= - | -? | [ [-M <o>] [-R <n>] [-S] ]
<logon> ::= <username>[/<password>][@<connect_string>] | / |
/NOLOG
<start> ::= @<filename>[.<ext>] [<parameter> ...]
"-" displays the usage syntax
"-?" displays the SQL*Plus version banner
"-M <o>" uses HTML markup options <o>
"-R <n>" uses restricted mode <n>
"-S" uses silent mode


I have been getting this error while connecting to database.

# USRPWD used by unloadto and plsql
export USRPWD="$DBSCHEMA/$[Email Address Removed] "USRPWD = $USRPWD"

DATE=`date +%Y%m%d`
SQLCOMMAND= `cat Norway.sql`
echo "$SQLCOMMAND"

unloadto output.txt <<END
$SQLCOMMAND
END


This is the Script which is failing because of SQLPLUS


Thanks and Regards
Deepak Choudhary


Oracle LazyDBA home page