代码改变世界

Function 函数

2017-06-27 00:47  cnblogs_qm  阅读(197)  评论(0编辑  收藏  举报

 

创建

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;

 

示例