Skip to content

Commit

Permalink
0002388: SQLServer 2008 does not correctly create remote tables with
Browse files Browse the repository at this point in the history
fields of type nvarchar(max)
  • Loading branch information
chenson42 committed Sep 10, 2015
1 parent 993b0ba commit a236369
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -749,6 +749,12 @@ protected void filterColumnSqlType(StringBuilder sqlType) {
} else if (sqlType.toString().equalsIgnoreCase("varbinary")) {
sqlType.setLength(0);
sqlType.append("varbinary(max)");
} else if (sqlType.toString().equalsIgnoreCase("nvarchar")) {
sqlType.setLength(0);
sqlType.append("nvarchar(max)");
} else if (sqlType.toString().equalsIgnoreCase("nvarbinary")) {
sqlType.setLength(0);
sqlType.append("nvarbinary(max)");
}
}
}

0 comments on commit a236369

Please sign in to comment.