• Thats because you are mixing both of our suggestions!

    try this in your where clause

    where finalcalledpartynumber = ('386') OR callingPartyNumber = ('386')

    AND dateTimeOrigination >= @StartInt

    AND dateTimeOrigination<= @EndInt

    ---------------------------------------------------------------------------------