例子

[oracle@localhost ~]$ cat data.sql
set echo off
set feedback off
set linesize 100
set pagesize 0
set sqlprompt ''
set trimspool on
spool data.csv
select id || ',' || val from testtab;
spool off
exit
[oracle@localhost ~]$

相关文章:

  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
猜你喜欢
  • 2020-05-18
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案