sql sproc compare started