创建
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;
示例
Function 函数
原文:http://www.cnblogs.com/cnblogs-qm/p/7083109.html