1 update base_problem set uuid=replace(uuid(),'-',''); 2 update base_problem set uuid = UUID() where uuid =uuid; 3 update base_problem set uuid = REPLACE(uuid,'-','');