oracle 將查詢結果輸出到txt文件裏

在查詢語句裏先輸入spool filepath 中間是須要查詢的語句,最後spool off 就會把中間查詢的結果都輸入到file文件裏post spool E:\log.txt;blog select id,name from users;class spool off;file
相關文章
相關標籤/搜索