Query Run
SET @N = 750; SET @today = mid(replace(now(),"-",""),5,4); /* "0428"; --... 4 months ago
USE orwiki_p; SET @N = 750; SET @today = mid(replace(now(),"-",""),5,4);... 4 months ago