Posted by aling on 12/18/06 12:48
Execute following T-SQL within Queary Analyzer of SQL Server 2000:
=======================================
DECLARE @dTest DATETIME
SET @dTest='2001-1-1 1:1:1:991'
SELECT @dTest
SET @dTest='2001-1-1 1:1:1:997'
SELECT @dTest
SET @dTest='2001-1-1 1:1:1:999'
SELECT @dTest
=======================================
You get what?
This is my result which is weird:
2001-01-01 01:01:01.990
2001-01-01 01:01:01.997
2001-01-01 01:01:02.000
Then what's the reason of this weird problem?
[Back to original message]
|