Query: Update UserGroup

Update UserGroup from Group after activation of the new rights

Update [UserGroup] Set [UserGroup].[Type] = [Group].[Type], [UserGroup].[DBGroupId] = [Group].[DBGroupId], [UserGroup].[DBId] = [Group].[DBId]
From [UserGroup] Inner join [Group] On [UserGroup].[GroupId] = [Group].[Id]