On 17. 3. 2010 11:49, Mike Martin wrote:
> sample time= 2010-03-16 23:06:00
> sample start= 2010-03-16-22:00:00
> sample end= 2010-03-16 23:05:00
> select tsid from recordings where '2010-03-16 23:05:00' between start and end'
>
> This query should return nothing, so can anyone explain why it is
> recording the tsid
>
> thanks
>
>   

as far as i know  XX BETWEEN YY AND ZZ is equal to XX>=YY and XX<=ZZ so
its ok that it returns something. i always use it like that (but on
Sybase database)

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to