• I've no idea, because it's in the original query:

    Original:

    WHERE

    (dbo.Mobitech_Filtered_Task.PIMS_IMPORTED IS NULL) OR

    (dbo.Mobitech_Filtered_Task.PIMS_IMPORTED = 0)

    New:

    SELECT t.task_id

    FROM dbo.Mobitech_Filtered_Task t

    WHERE (t.PIMS_IMPORTED IS NULL OR t.PIMS_IMPORTED = 0)

    AND t.completed = 1

    AND t.mobile_date_modified IS NOT NULL

    AND t.date_added > CONVERT(DATETIME, '2013-08-03 00:00:00', 102)

    Does the original query actually run without errors?

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden