diff --git a/src/main/java/com/microsoft/sqlserver/jdbc/dtv.java b/src/main/java/com/microsoft/sqlserver/jdbc/dtv.java index c2e2e6907..7fd3ba441 100644 --- a/src/main/java/com/microsoft/sqlserver/jdbc/dtv.java +++ b/src/main/java/com/microsoft/sqlserver/jdbc/dtv.java @@ -3589,7 +3589,7 @@ Object denormalizedValue(byte[] decryptedValue, JDBCType jdbcType, TypeInfo base case DATETIME: int ticksSinceMidnight = (Util.readInt(decryptedValue, 4) * 10 + 1) / 3; - if (8 != decryptedValue.length || Integer.MAX_VALUE < ticksSinceMidnight) { + if (8 != decryptedValue.length) { MessageFormat form = new MessageFormat(SQLServerException.getErrString("R_NormalizationErrorAE")); throw new SQLServerException(form.format(new Object[] {baseSSType}), null, 0, null); }