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
Shared calendar does not show appointments until refreshed
CISCO UC520 - IP Phones & Computers on different ip ranges.
Free software to scan, crop 4 areas, save to .tif file with transparent background?
How to Installing SQL-DMO on sql 2008
How to configure Remote SPAN or alternative option on HP Procurve 2626-PWR switch ?
adding a mac to sbs 2003 network
playstation 3 did not connect via direct proxy? can u help.
are there any inherent issues introducing a server 2008 system into a predominantly 2003 network?
Should Sys Admins (Domain Admins) also have user accounts?
SQL 2005 Select Query from multiple tables