Hi, this is my first thread ...
I've a table with a Date column and a time column (and more columns of course...). So I'm searching for a query to limit the result by date and time.
For example I want to select all rows that contains date and time between 20/05/2007 at 05:00:00 and 21/05/2007 at 05:00:00.
I've tryed something like this: select * from table1 where date>='20/05/2007' and time>='05:00:00 ' and date<='21/05/2007' and time<='05:00:00'.
But, of course, the time interval will return only the time 05:00:00 :-( .... Anyone could, please, help me?
Many thanks
I've a table with a Date column and a time column (and more columns of course...). So I'm searching for a query to limit the result by date and time.
For example I want to select all rows that contains date and time between 20/05/2007 at 05:00:00 and 21/05/2007 at 05:00:00.
I've tryed something like this: select * from table1 where date>='20/05/2007' and time>='05:00:00 ' and date<='21/05/2007' and time<='05:00:00'.
But, of course, the time interval will return only the time 05:00:00 :-( .... Anyone could, please, help me?
Many thanks