Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server DateTime in SQL Select
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01463837
Message ID:
01463844
Vues:
57
>Btw, just occurred to me to ask. Is the syntax of using >= and < (as in your example) faster than using Between?
>

It is not faster, but this is the correct syntax when dealing with dates if you want to include time portion for the second date.

Take a look at these two links

The ultimate guide to the datetime datatypes
Bad habits to kick : mis-handling date / range queries
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform