写2个文件 c:\a.bat c:\a.sql
c:\a.bat 内容:
---------------------
sqlplus -s password/username@dbname @C:\a.sql
---------------------
c:\a.sql 内容:
--------------------
set termout off;
set heading off;
set pagesize 0;
set verify off;
set trimout on;
set trimspool on;
set linesize 1000;
set echo off;