The AskTOM team is taking a break over the holiday season, so we're not taking questions or responding to comments. Please have a happy and safe festive season and as always, thanks for being a member of the AskTOM community.
Thanks for the question, Vanka.
Asked: October 12, 2016 - 7:05 pm UTC
Last updated: October 15, 2016 - 1:40 am UTC
Version: Oracl12c
Viewed 1000+ times
sqlplus -s ... << EOF set verify off spool $RBACKUP ... spool off EXIT; EOF if [ "`grep 'ORA-' $RBACKUP`" ] ;then echo We had an error mailx -s "ERROR" joe@support.com < $RBACKUP exit 1 fi linecount=`wc -l $RBACKUP` echo "Number of lines exported : $linecount" >> $RLOG
Jony, October 13, 2016 - 11:30 am UTC
Share and learn SQL and PL/SQL; free access to the latest version of Oracle Database!
Classes, workouts and quizzes on Oracle Database technologies. Expertise through exercise!