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
Find Duplicate Query
How can I change the colour of text in a report field to match a colour specified in the report?
-2147467259 [Microsoft][ODBC SQL Server Driver][DBNETLIB]Connectio<wbr />nWrite(Wra<wbr />pperWrite(<wbr />))
Export 4 Queries to the same Worksheet
Receive Connector for Exchange 2007 Server to Receive From Barracuda FW 300
Remote Desktop- blank screen
How do I access another column of data in a ComboBox?
Update a column from another table colum
Dropdown of Word 2003, Insert Autotext subfolders are all empty
Stop sysprep from running on boot