oracle之把表文件導出成文本文件

1 spool

 

spool d:/test/table.dat

select * from table_name;

spool off

 

 

2 sqlplus user/password@sid @test.sql > table.dat

 

test.sql

     select * from table_name;

     exit;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章