Hi list,
I noticed that when we use the keyword between in SQL statements we must considerer all the miliseconds with 6 digits.
I would like to know if we want to make a day selection we must use allways the max of possibilities like:
select * from base.table
where when
between
'2006-09-06 00:00:00.000000'
and
'2006-09-06 23:59:59.999999'
order by 2
Is there a simplest way or not ?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/
- [SQL] Between and miliseconds (timestamps) Ezequias Rodrigues da Rocha
- Re: [SQL] Between and miliseconds (timest... A. Kretschmer
- Re: [SQL] Between and miliseconds (ti... A. Kretschmer
- Re: [SQL] Between and miliseconds... Ezequias Rodrigues da Rocha
- Re: [SQL] Between and milisec... Joe
- Re: [SQL] Between and mi... Ezequias Rodrigues da Rocha