The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 09-06-2007
zing_foru zing_foru is offline
Registered User
 

Join Date: Mar 2007
Posts: 36
Try below code

#!/bin/csh -f

sqlplus tkyte/tkyte << "EOF"
set serveroutput on
declare
a number:=5;
begin
dbms_output.put_line( 'a:='||a );
end;
/
spool off
"EOF" >> tmp.csh 2>&1
Reply With Quote