Microsoft
Software
Hardware
Network
Question : How do I get the time only from a SQL datetime value?
I've googled this until my brain hurts and every example I try doesn't return the right thing. I have this, in a datetime field:
'2007-03-17 13:25:00'
I need to query on the time only. (13:25:00) How do I do this reliably?
Thanks!
Answer : How do I get the time only from a SQL datetime value?
SELECT CONVERT(CHAR(10),GETDATE()
,8)
Random Solutions
Install x86 print driver on an x64 print server
Incrementing a field in a query
Can't Open Network Connections on Windows Server 2000
How do you make outlook 2003 become "online"?
Spin with "autobuddy" and "set buddy integer" strange behavour
What is wrong with this query
Failed to run EXE files built with .Net Framwork . "The application failed to initialize properly (0xc000007b)"
Changing the case, Forcing all caps in a vb.net Windows app
Silverlight and Google Adsense
Problems with assigning the proxy setting using GPO