csv - How can I automate exporting of an Oracle table/view? -


i have table in oracle need export file, xls, csv or otherwise. attempting using sqlplus export view csv in shell script setup cronjob.

this seems inelegant separators, line size , pagesize seem create lot of errors in data.

is there better way accomplish sqlplus?

i'm not sure sql*plus configuration elements should causing problems output -- if are, open second question on it.

one method can explore using dbms_scheduler-driven pl/sql program write data out utl_file. if consider export process part of database functionality route go.

i'd want know want data? exported data on own using disk space.

are importing system? if so, more robust connect database system , pull data using sql, writing data disk fraught issues concerning date formats, presence of cr lf in data, number formats, etc.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -