簡體   English   中英

需要將.dmp文件導入Oracle Express,將其導出為平面CSV或TXT文件,以導入到SAS中

[英]Need to import .dmp file into Oracle Express, export it as a flat CSV or TXT file for importation into SAS

有誰知道如何編寫將.dmp文件導入Oracle Express數據庫,然后將數據導出為CSV文件的特定命令行?

任何幫助將不勝感激。 謝謝!

使用impdp導入:

impdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=impdpEMP_DEPT.log

然后假脫機到csv:

set heading off
spool myfile.csv
select col1|','||col2 from my_tables;
set colsep ','
select * from my_table;
spool off;

請點擊以下鏈接獲取幫助。

導入: https : //oracle-base.com/articles/10g/oracle-data-pump-10g后台打印到csv: http : //www.dba-oracle.com/t_export_to_csv_file.htm

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM