View Single Post
Old 09-09-2004, 07:59 AM   #4 (permalink)
FaderMonkey
Psycho
 
FaderMonkey's Avatar
 
Location: Orlando, FL
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!
FaderMonkey is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62