Okay, I have a small problem.
I have one Date field in a table called Transaction.
From the GUI, the user has 4 options to interrogate this field. There are "start date", "end date", "start time", and "end time" datetime pickers. The user should be able to retrieve data for any set of days, and within those days, any specific time period. (i.e. They may want to see all of the transactions between Oct 9 and Oct 16 that occurred within the hours of 2:00PM and 3:00PM.
Could someone help out with the SQL. The "date" portion is not the issue, it's the "Time" portion that I am having a problem with.
Thanks in advance.
-D
I have one Date field in a table called Transaction.
From the GUI, the user has 4 options to interrogate this field. There are "start date", "end date", "start time", and "end time" datetime pickers. The user should be able to retrieve data for any set of days, and within those days, any specific time period. (i.e. They may want to see all of the transactions between Oct 9 and Oct 16 that occurred within the hours of 2:00PM and 3:00PM.
Could someone help out with the SQL. The "date" portion is not the issue, it's the "Time" portion that I am having a problem with.
Thanks in advance.
-D