Deleting People and Families in Bulk

Our genealogy database program.

Moderator: Nick Hunter

Post Reply
Posts: 2
Joined: Sun Oct 10, 2010 12:14 pm

Deleting People and Families in Bulk

Post by Arthur494 » Sun Oct 10, 2010 12:20 pm

I inadvertently imported a GEDCOM file with 2638 people into my own tree. How do I get rid of these people (and their families) - preferably not one by one? They don't appear in the tree layout. I've got them identified in a SQL query but can't find a way of selecting them all or deleting them one by one?


Posts: 19
Joined: Fri Jul 03, 2009 4:15 pm

Tool for bulk deleting of data

Post by jhunt02 » Sun Oct 10, 2010 5:04 pm

You might want to look at this tool:

Discussed in:

Here's a download link for the tool: (broken link)

The tool described there will allow you to execute a DELETE statement using the same criteria as your SELECT statement. (But be sure to try it out on a copy of your database first.) If you want help with the delete query, just let me know.


Posts: 74
Joined: Tue Jan 24, 2006 9:48 am
Location: Derbyshire, UK

Post by laschapas » Sun Oct 10, 2010 7:25 pm

I am intrigued that you can import 2638 people and their families and the families do no appear in the tree layout. People in limbo do not appear on the tree layout but any person linked to a family should be on the tree layout somewhere, or are all these people in limbo?

John Wood

Nick Hunter
Posts: 666
Joined: Sun Dec 18, 2005 9:36 am
Location: SpanSoft, Scotland

Post by Nick Hunter » Mon Oct 11, 2010 8:26 am


You may have to create a new database exporting just the families and people that you do want to keep. Try "File | Database | Copy selection" and see if that helps.

Posts: 2
Joined: Sun Oct 10, 2010 12:14 pm

Post by Arthur494 » Thu Nov 11, 2010 10:48 am

I finally got round to trying your excellent ideas, and Nick's suggetsion worked first time. The tree was reduced from 13.8 to 4.45 MB.

Post Reply