I have a DB.bat file which holds PL/SQL block as below. The problem here i'm facing is the extract exported to csv has text format. I need to have it in a tabular structure. Please guide me how to achieve the tabular format in csv after spool.
call sqlplus ID/pwd@db @c:desktopcode.sql
set head off set feed off set pagesize 0 spool c:desktopDB.csv --PL/SQL Block --- spool off set head on set feed 6 quit