I am currently doing the steps in the below link:
Remove all duplicate group names with unique group ids.
- https://confluence.atlassian.com/confkb/how-to-remove-groups-from-confluence-via-the-database-803603007.html
I got past all steps, but when I do the final delete , I get the below error.
DELETE from cwd_group WHERE id IN ( I pass some ID values here)
Msg 547, Level 16, State 0, Line 24
The DELETE statement conflicted with the REFERENCE constraint "fk_child_grp". The conflict occurred in database "dwiki001", table "dbo.cwd_membership", column 'child_group_id'.
The statement has been terminated.