Alter item sql statement for processing delayed reminders