[Dev] oracleのsqlldr なるべく簡単に
sqlldrコマンドをなるべく簡単に記述する方法を調べてみた。
以下の内容を省略
- データファイル
- 制御ファイル
- テーブルのカラム名
テーブル名:xxx
データファイル名:xxx.dat
CSVファイル(カンマ区切り)
sqlldr hogeuser/passw0rd@//localhost/pdb01 table=xxx
CSVファイル(ダブルクォーテーション括り)
sqlldr hogeuser/passw0rd@//localhost/pdb01 table=xxx optionally_enclosed_by=\'\"\'
タブ区切り
sqlldr hogeuser/passw0rd@//localhost/pdb01 table=xxx terminated_by=X\'09\'
関連記事
[Dev] oracleのsqlldr