sqlplus test/test@testdb<< EOF SPOOL /opt/XXXXX/XXXXXXX.txt SET LINESIZE 100 SET PAGESIZE 50 select * from test; SPOOL OFF exit; EOF原文链接:https://www.f2er.com/oracle/211027.html
sqlplus test/test@testdb<< EOF SPOOL /opt/XXXXX/XXXXXXX.txt SET LINESIZE 100 SET PAGESIZE 50 select * from test; SPOOL OFF exit; EOF原文链接:https://www.f2er.com/oracle/211027.html