5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-06 05:41:30 +08:00

SQOOP-1383: Sqoop2: MSSQL Export not working

(Oleksiy Sayankin via Abraham Elmahrek)
This commit is contained in:
Abraham Elmahrek 2014-10-30 13:59:48 -07:00
parent ecd9cbe209
commit fcd456d6d1

View File

@ -81,7 +81,7 @@ public void deleteTableData(String tableName) {
public void migrateData(String fromTable, String toTable) {
String insertQuery = "INSERT INTO " + toTable +
" ( SELECT * FROM " + fromTable + " )";
" SELECT * FROM " + fromTable;
Statement stmt = null;
Boolean oldAutoCommit = null;
try {