Skip to content
Permalink
Browse files

0003825: Oracle bulk loader using SQL*Loader sqlldr

  • Loading branch information...
elong
elong committed Dec 19, 2018
1 parent c99d8a8 commit 7f7fc5712323c9a5fb3065e815c600d97bc02c00
@@ -138,7 +138,7 @@ protected void createStagingFile() {
OutputStream out = controlResource.getOutputStream();
out.write(("LOAD DATA\n").getBytes());
out.write(getInfileControl().getBytes());
out.write(("APPEND INTO TABLE " + targetTable.getName() + "\n").getBytes());
out.write(("APPEND INTO TABLE " + targetTable.getQualifiedTableName("\"", ".", ".") + "\n").getBytes());

out.write(("FIELDS TERMINATED BY '" + FIELD_TERMINATOR + "'\n").getBytes());
out.write(getLineTerminatedByControl().getBytes());

0 comments on commit 7f7fc57

Please sign in to comment.
You can’t perform that action at this time.