LucieLastic
Programmer
hi All
I currently have a table containing a DateTime field and the field has values like:-
01/05/2004 00:00:35
01/05/2004 00:00:30
01/05/2004 00:00:10
01/05/2004 00:00:40
02/05/2004 00:01:02
02/05/2004 00:00:55
02/05/2004 00:00:33
02/05/2004 00:00:35
02/05/2004 00:00:40
I'd like to update the column and keep the date part but change the time part to 00:00:01. I have some SQL, would this do the trick and is it the best way to do it?
Update CALCSTABLE
set CalcDateTime = trunc(CalcDateTime) + 0.0000157407
many thanks in advance for any help
lou
I currently have a table containing a DateTime field and the field has values like:-
01/05/2004 00:00:35
01/05/2004 00:00:30
01/05/2004 00:00:10
01/05/2004 00:00:40
02/05/2004 00:01:02
02/05/2004 00:00:55
02/05/2004 00:00:33
02/05/2004 00:00:35
02/05/2004 00:00:40
I'd like to update the column and keep the date part but change the time part to 00:00:01. I have some SQL, would this do the trick and is it the best way to do it?
Update CALCSTABLE
set CalcDateTime = trunc(CalcDateTime) + 0.0000157407
many thanks in advance for any help
lou