Since I caught this before any new students started taking quizzes or commenting in forums, I am able to remove the attempts and comments using the Course Reset option
The Reset option allows you to chose between the big three, quizzes, forums and assignments.
If there had been data from current students in one of the activities, I would not have been able to do this en-masse and would have done one at a time.
My other option is to use SQL in the DB directly. That is a little more risky than updating things in moodle directly.
The SQL I use to remove old quiz attempts from a course
EDIT `dbname`.`mdl_quiz` where course = xxx;
// get quiz ids for use in attempts query below
EDIT `dbname`.`mdl_quiz_attempts` where quiz = xxxx;
With that result set I can remove the records.


thanks james, you saved me from heavy lifting and for that, I raise my friday pint to you my friend!
ReplyDelete