Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locating records with a specific time
Message
From
19/11/2014 10:54:18
 
 
To
19/11/2014 10:49:32
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01611170
Message ID:
01611171
Views:
44
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform