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
hide FormView "delete" and "edit" button links programmatically
system interrupt controller missing driver
Disable Enter key in Datagrid
How to identify at runtime if the sw is in debug or release mode (VB.NET)
Creating a directory path string based on choices in a form
Force Data Type on import - Access 2003
Windows messages : How to find the sender of of WM_USER message
Windows 7 IIS
Import special toolbar from another database
SQL + VB.net, update query. How to convert .. varchar to money ?