元の exp (expdp ではない) で作成された Oracle ダンプ ファイルがあります (EXPORT:V10.02.01、Oracle 10g)。これらには、4 つのテーブルのテーブル データのみが含まれます。
1) 別の Oracle DB にインポートせずに、テーブル データをファイル (フラット/固定幅、CVS、またはその他のテキスト ファイル) に抽出したい。【好ましい】
2) または、他のツールを使用してデータを抽出できるように、それらを通常のユーザー (SYSDBA ではない) にインポートできるソリューションが必要です。
私のデータベースは 11g ですが、必要に応じて 10g データベースを見つけることができます。私は TOAD for Oracle Xpert 11.6.1.6 を処分しています。私は中程度の経験を持つ Oracle プログラマーですが、これまで EXP/IMP を使用したことはありません。
(以下の情報は、データを保護するために隠されています。)
ダンプ ファイルの作成方法は次のとおりです。
exp FILE=data.dmp \
LOG=data.log \
TABLES=USER1.TABLE1,USER1.TABLE2,USER1.TABLE3,USER1.TABLE4 \
INDEXES=N TRIGGERS=N CONSTRAINTS=N GRANTS=N
ログは次のとおりです。
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
Note: grants on tables/views/sequences/roles will not be exported
Note: indexes on tables will not be exported
Note: constraints on tables will not be exported
About to export specified tables via Conventional Path ...
Current user changed to USER1
. . exporting table TABLE1 271 rows exported
. . exporting table TABLE2 272088 rows exported
. . exporting table TABLE3 2770 rows exported
. . exporting table TABLE4 21041 rows exported
Export terminated successfully without warnings.
前もって感謝します。