First time here? Check out the FAQ!

Revision history  [back]

Original problem seems OK, but I am now getting a different error. POsting as an answer because it will not fit in a comment: badge award error function datediff(timestamp with time zone, timestamp with time zone) does not exist
LINE 1: ...WHERE = a.question_id AND                    DATEDIFF(a...
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
in question_be_answered_after_60_days_and_be_voted_up_5