postgresql7.4
update evaluation_tasks
set weight = :aweight
where task_id = :id
update evaluation_tasks set requires_grade_p = 't' where task_id in ([join $with_grade ,])
update evaluation_tasks set requires_grade_p = 'f' where task_id in ([join $without_grade ,])