postgresql7.1 begin PERFORM survey_question__new ( NULL, :section_id, :new_sort_order, :question_text, :abstract_data_type, :required_p, :active_p, :presentation_type, :presentation_options, :presentation_alignment, :user_id, :section_id ); end; select survey_choice_id_sequence.nextval as choice_id