Check out the LimeSurvey source code on GitHub!

Bulk delete from CPDB?

More
3 years 9 months ago #95437 by bkgray
At the end of the school year, I will need to remove 150 or so graduating students from the central participant database. It's easy to add participants via a CSV import, but there does not appear to be a similar way to remove them.

My plan is to generate a file of MySql statements to delete the appropriate records from the appropriate tables. It looks like I will identify the records in lime_participants by the email address, and then delete records from lime_participants, lime_participant_attributes and lime_participant_shares based on the participant_id field.

I don't plan to delete tokens or responses from individual surveys. Is there anywhere else in the database that I need to look to delete the participants who have left the school?

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form