`
thecloud
  • 浏览: 882066 次
文章分类
社区版块
存档分类
最新评论

How to use SQLPlus export data to csv format

 
阅读更多

Sqlplus opr1d/password@swoprdb1d.nam.nsroot.net:1521/OPRISKD1

set colsep '|'
set echo off
set feedback off
set linesize 1000
set pagesize 9999
set trimspool on
set headsep off

spool output.dat

select <table>.*
 from <table>
where <conditions>

spool off
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics