Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime comparison
Message
De
03/04/2009 10:05:25
 
 
À
03/04/2009 05:24:38
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01392907
Message ID:
01392992
Vues:
45
>Hi,
>Thank you. May I know how to compare date only portion in SQL?
>I know we can use CONVERT() but would it be optimized since index cant contain function (could it?). ?
>
>Thank you
... DATEDIFF(day,datetime1,datetime2)=0
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform