Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining a higher precision in timestamp
Message
De
21/03/2014 11:36:31
 
 
À
21/03/2014 10:52:25
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01597037
Message ID:
01597041
Vues:
44
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/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform