newtomysql
Technical User
Dear All,
I have a table where I keep separately the data and time information in 2 separate columns. My problem come like this query
select * from tbltransfer where transferFromDate>='2009-01-30' and transferFromTime>='13:00:00' order by transferFromDate.
What I get is all those transfer which have data equal to '2009-01-30' which is correct but it also search all those time which is transferFromTime>='13:00:00'. So the problem here is that for instance I have a transferdate on '2009-02-02' and transferTime on '09:00:00' so this search result doesnt appear any solution please ? Thanks.
I have a table where I keep separately the data and time information in 2 separate columns. My problem come like this query
select * from tbltransfer where transferFromDate>='2009-01-30' and transferFromTime>='13:00:00' order by transferFromDate.
What I get is all those transfer which have data equal to '2009-01-30' which is correct but it also search all those time which is transferFromTime>='13:00:00'. So the problem here is that for instance I have a transferdate on '2009-02-02' and transferTime on '09:00:00' so this search result doesnt appear any solution please ? Thanks.