2017-07-23 17 views

回答

1

可以在SQL中使用spool /加如下面這將寫入result.txt

spool result.txt  
select col1, col2, ... , coln from your_table;  
spool off 

Here以獲取更多信息