You might try something like SELECT NCOS_Data.NC_Lead_Gen_Office, NCOS_Data.NC_LeadDate, NCOS_Data.NC_Prospect_Name, NCOS_Data.NC_CreateDate, NCOS_Data.NC_ModifyDateFROM [NCOS].[dbo].[NCOS_Data]WHERE NCOS_Data.NC_OMP_Approval_Status = 'Approved' AND DATEDIFF(day, NCOS_Data.NC_ModifyDate, GETDATE()) <= 7 AND 1 = -- 3 PM CUT OFF CASE WHEN NCOS_Data.NC_ModifyDate = GETDATE() AND DATEPART(hh, NCOS_Data.NC_ModifyDate) > 15 THEN 0 ELSE 1 END ORDER BY NCOS_Data.NC_Lead_Gen_Office
as the way you have the case statement is created is not allowed.djj