The information in this article applies to:
BUG# NT: 11253 (6.00) SYMPTOMS
In Microsoft SQL Server version 6.0, if the datetime field has a
milliseconds entry of 999, it is stored as 000 milliseconds with the
seconds value incremented by one. For example, a value of '08/22/1995
10:15:19:999' is stored as '08/22/1995 10:15:20:000'. This rounding up of
999 milliseconds has an undesirable effect if the time is '23:59:59:999' in
that in moves the date over to the next date. Thus, a value of '12/31/1995
23:59:59.999' is stored as '01/01/1996 12:00:00:000'.
WORKAROUNDUse milliseconds entries zero through 998 for the datetime field if date and year correctness is important. STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
The following example replicates this problem:
Additional query words: sql6 select null
Keywords : kbother SSrvGen kbbug6.00 |
Last Reviewed: April 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |