Quote:
Originally Posted by bacon
Well, there is no "IF" in SQL, just WHERE...
Aren't you just wanting a WHERE clause like:
WHERE entrydate>'somedate' AND entrydate<'someotherdate'
|
I assumed that because I'm using the DATE_FORMAT fuction that I wouldn't be able to do it that way, but you're right, it works.
Thanks!