insert into pm_process_task (process_task_id, process_id, one_line, description, estimated_hours_work, estimated_hours_work_min, estimated_hours_work_max, ordering) values (:task_id, :process_id, :one_line, :descr, :work, :work_min, :work_max, :sort_order) update pm_process_task set one_line = :one_line, description = :descr, estimated_hours_work = :work, estimated_hours_work_min = :work_min, estimated_hours_work_max = :work_max, ordering = :sort_order where process_task_id = :task_id select count(*) from pm_process_task where process_task_id in ([join $process_task_id ","])