I need to run an event weekly (every 1st Friday of the month) and another event every Friday other than the first Friday of the month. All I could think of was something like
IF WEEKDAY()=4 AND DAYOFMONTH() BETWEEN 1 AND 7 THEN ....
and
IF WEEKDAY()=4 AND DAYOFMONTH() BETWEEN 8 AND 31 THEN ....
But is there a better/more neat query that?