Try this:
Code:set termout off set hea off set pagesize 0 col crdt new_value today select to_char(sysdate,'YYYYMMDD') crdt from dual; spool c:\whatever_&&today..csv select a.a||','||a.b||','||a.c from a where a.a="whatever"; spool off![]()
|
Results 1 to 3 of 3
Thread: exporting oracle data to csvThreaded View
|
Click Here to Expand Forum to Full Width |