- Apr 26, 2001
- 31,046
- 321
- 136
Hey guys,
Here's the deal. This query works well for most applications but it fails on a specific instance.
As you can see, trying to compare 22:00 (10pm) and 02:00(2am) fails because of the way the query is written. I am not up to snuff on SQL, I can build basic queries so I was wondering if anyone had a suggestion..
And I thought of concatenating the date and time but there is a wildcard search for time and date and that would break it. I know there is someone out there who's run into this little quirk before, any help would be appreciated.
Here's the deal. This query works well for most applications but it fails on a specific instance.
As you can see, trying to compare 22:00 (10pm) and 02:00(2am) fails because of the way the query is written. I am not up to snuff on SQL, I can build basic queries so I was wondering if anyone had a suggestion..
And I thought of concatenating the date and time but there is a wildcard search for time and date and that would break it. I know there is someone out there who's run into this little quirk before, any help would be appreciated.