Microsoft
Software
Hardware
Network
Question : SQLSERVER UPdate Time to 00:00:00
Hello,
I have a SQLSERVER Table with a field defined as mDAteTime.
mDateTime has the following samplle data:
10/15/2008 7:00:00 AM
10/18/2008 7:00:00 AM
10/20/2008 7:00:00 AM
10/21/2008 7:00:00 AM
I would like to update the 07:00:00 to 00:00:00. I have used the following commands unsuccesfully:
update LocationContributions SET mDateTime = DateAdd(hh,0,mDateTime)
update LocationContributions SET mDateTime = DateAdd(hh,-07,mDateTime)
Please help. Thanks
Steve Stacel
Answer : SQLSERVER UPdate Time to 00:00:00
update LocationContributions SET mDateTime = DATEDIFF(d, 0, mDateTime)
Random Solutions
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
How to pause a process execution in C++
Exchange 2007 - Error 5.1.0 - Unknown address error 550-'5.1.1 User unknown'
Group By Sql Query
Switch 3Com 4800G doesn't save configuration ?
Exchange 2010 Backup
SharePoint Recovery when all you have are the SQL files from disk ?
How do I get the value of xpages file upload
Cannot import WordPress XML backup!
Macro to clear all rows below the last cell of data