Variable in batch file
Hi I had a number 80 how can i assign this variable to a variable sum in the batch file
sqlplus "/ as sysdba" <<EOF
set heading off
set echo off
spool orcl2.log
select max(sequence#) from v\$log_history;
spool off
exit;
EOF
Please help me Thank you in advance