Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making use of dates in index
Message
De
02/05/2011 21:29:53
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Titre:
Making use of dates in index
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01509138
Message ID:
01509138
Vues:
96
Some are using a numeric equivalent for a date to optimize the indexing. It is known that using a date in a SQL command is not as optimized as using only integers for example. This is especially true if you use the date field twice such as greater than and less date values. What would be the proper technique to have an equivalent integer field to represent the date field so to use it in SQL commands?

I understand there is some kind of equivalent values which would also includes the hours, minutes, seconds and milliseconds.

Any techniques that are better than another one in this type of support?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform