How do I spool to a CSV formatted file using SQLPLUS?

后端 未结 16 1142
执笔经年
执笔经年 2020-11-22 15:40

I want to extract some queries to a CSV output format. Unfortunately, I can\'t use any fancy SQL client or any language to do it. I must use SQLPLUS.

How do I do it?

16条回答
  •  耶瑟儿~
    2020-11-22 16:19

    I have once written a little SQL*Plus script that uses dbms_sql and dbms_output to create a csv (actually an ssv). You can find it on my githup repository.

提交回复
热议问题