创建
create [or replace] function fun_name[(v_p1 v_p_type1, ...)] return data_type is|as begin plsql_sentences; [exception] [dowith_sentences;] end [fun_name];
删除
drop function fun_name;
示例