oracle 11g sqlplus 將查詢資料轉出
sqlplus 下指令,常遇到欄位過長,顯示變形;所以需要下指令整理
spool xxx.log
prompt &_DATE
set wrap off
set termout off
set pagesize 0 embedded on
set trimspool on
select ... from ...
spool off
exit
sqlplus 下指令,常遇到欄位過長,顯示變形;所以需要下指令整理
spool xxx.log
prompt &_DATE
set wrap off
set termout off
set pagesize 0 embedded on
set trimspool on
select ... from ...
spool off
exit