select ownerId, ownertype, savedReportId, reportCenterOptions, lastRun from tbl_SYS_SavedReports where scheduledDelivery = 'Y' and nextRun is null
update tbl_SYS_SavedReports set nextRun = where savedReportId =