Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locating records with a specific time
Message
De
19/11/2014 10:54:18
 
 
À
19/11/2014 10:49:32
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01611170
Message ID:
01611171
Vues:
43
>I am trying to locate records with a specific time. This is a datetime field. Isn't the following supposed to work:
>
>
>SELECT Client.* FROM Client WHERE HOUR(Client.End)=12
>
Hi Michel

try

where datepart(hour,Client.End) = 12

Nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform