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
Rounding up or down by 20 cents in access
Importing XML into MS Access 2003 or higher and keep Parent Child relationships in the tables
Object not found in the collection using IsObject
Recalc field on an open form when close a second form.
Scope_Identity in SELECT statement with a WHERE clause
Reference Data In XML Document
SQL Query
Why does Update bring a lot of Null in the traget table ?
Receiving error when submitting data to SQL Server through asp.net vb
Changing or retaining an update Parameter value in a gridview