Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
High precision date/time stamp in SQL Server 2005
Message
De
15/03/2011 11:39:21
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01503716
Message ID:
01503726
Vues:
31
>>>>I have bulk records that are getting imported into a SQL Server 2005 table. I need to be able to maintain the same order that they were imported. I was using a DateTime field and populating it to GETDATE(), but that wasn't precise enough.
>>>>
>>>>Any advice out there?
>>>
>>>In SQL Server 2005 there is no date types with high precision. There are several in SQL Server 2008 (DateTime2).
>>
>>Any other ideas? I received a recommendation elsewhere to rely on the autoincrementing identity column, but I've always believed that to be bad practice.
>
>Check last suggestion from this thread http://social.msdn.microsoft.com/Forums/en/transactsql/thread/3db0d9c8-7fe5-4adf-80df-7ee76da891c2

Ah, very very interesting. I'm open to trying that, but I've never done anything like that before. I'll have to do some research.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform