I want to do a questiontype upgrade script that does
UPDATE mdl_question_answers SET answer = '*' WHERE answer = '' AND question IN (SELECT id FROM mdl_question WHERE qtype = 'numerical')
I think that a new set_field_select function is the best way to achieve this.
I've written it, but I would think I should get it reviewed before committing. Patch will be attached shortly.