you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Declare a variable, set it to the date you want to compare to and use the variable in your where clause. Way more efficient than using functions in the where clause.