select distinct ownerId, ownerType from tbl_bcrm_objectives with (nolock) where GETDATE() >= PublishDate and GETDATE() <= UnpublishDate and Ready = 'y' and batchQuotaSetTargetCount = 1 and quotaType = 'APR' and objType = 'PRD' and ownerId = and ownerType =