Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select by Date from DateTime in SQL Server
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01653212
Message ID:
01653217
Vues:
57
>>MartinaJ
>
>Thank you. Your code is even shorter than mine using DATEADD().

Your code should never be used in production as it's non-sargable. Using CAST(dateTimeColun as date)
is OK.
Or you can use what Michel suggested, it's a proven approach.
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