L
LarissaR
I have a table with a date field and a value field. The date consists of
date, hours and minutes, and the value field has numbers in it. I'd like to
find the max value for every date, but the only way I can figure out to do
that would be to somehow remove the hours and minutes from each record in the
date field. I've tried a few things, including using =trunc(0,date) and have
tried changing the datatype for the date field from a date to a number and
back again, but changing it to a number caused it to round up in some cases.
I know the easiest way to do this is really to paste the date field into an
Excel file and truncate it there, and then paste the values back into a new
column, but I have nearly 30,000 records and it's too much for the system to
paste. I'm stuck. Can anyone help me? Many thanks, in advance.
date, hours and minutes, and the value field has numbers in it. I'd like to
find the max value for every date, but the only way I can figure out to do
that would be to somehow remove the hours and minutes from each record in the
date field. I've tried a few things, including using =trunc(0,date) and have
tried changing the datatype for the date field from a date to a number and
back again, but changing it to a number caused it to round up in some cases.
I know the easiest way to do this is really to paste the date field into an
Excel file and truncate it there, and then paste the values back into a new
column, but I have nearly 30,000 records and it's too much for the system to
paste. I'm stuck. Can anyone help me? Many thanks, in advance.