--mit Version 0.6 ist uniquename unique:
update qa_mask_execution set uniquename=tid where uniquename is null or trim(uniquename)='';