i have a column named trandate that is of datatype datetime and i need to do a sum function - grouping with several columns inluding the trandate column.
my numbers are off because of the time portion in the
trandate column so i was wondering if there was a way
to convert the time portion to all zero's.
2003-01-21 08:29:14.000 --> 2003-01-21 00:00:00.000
is there a way to do this conversion? this would solve my problem when using the sum function.
thanks for your help.
my numbers are off because of the time portion in the
trandate column so i was wondering if there was a way
to convert the time portion to all zero's.
2003-01-21 08:29:14.000 --> 2003-01-21 00:00:00.000
is there a way to do this conversion? this would solve my problem when using the sum function.
thanks for your help.