update [ActvtProcLogTbl]
set [PreviousRunMaxId]=0,[ActvtProcMaxId]=0
where [PreviousRunMaxId] is null and [LastRunUtc] is null and [ActvtProcMaxId]=0