Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining a higher precision in timestamp
Message
From
21/03/2014 11:36:31
 
 
To
21/03/2014 10:52:25
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01597037
Message ID:
01597041
Views:
43
This message has been marked as a message which has helped to the initial question of the thread.
>I have records in a table which have the exact same timestamp. This is because they are in the same millisecond. Is there a way to increase the precision in SQL Server to go higher than that?

As Naomi just said, there's DateTime2....also, you want to populate it using the function SYSDATETIME()

I believe DateTime2 goes down to the nanoseconds.

Here's a very good article that covers it:
http://blog.sqlauthority.com/2010/06/11/sql-server-difference-between-datetime-and-datetime2/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform