Query Run
SET @startdate = '20231001000000'; SET @enddate = '20240401000000'; -- regex... 8 months ago
SET @startdate = '20230401000000'; SET @enddate = '20230930000000'; -- regex... 8 months ago