SELECT MA.ma_name FROM mms_management_agent MA WITH (NOLOCK) where MA.MA_ID in (select CS.ma_id from mms_connectorspace CS WITH (NOLOCK) INNER JOIN mms_partition SB WITH (NOLOCK) ON CS.partition_id = SB.partition_id where CS.CURRENT_EXPORT_BATCH_NUMBER > SB.last_successful_export_batch_number)