oracle8.1.6 begin :1 := survey_section.new ( section_id=>:section_id, survey_id=>:survey_id, name=>:name, description=>empty_clob(), description_html_p=>:description_html_p, context_id=>:survey_id, sort_key => :sort_key, branch_p => :branch_p, page_break_p => :page_break_p ); end; select decode(count(*),0,0,1) from survey_sections where section_id = :section_id