1、 create or replace 函数名 (参数名 in 类型) return 返回值类型 as 定义变量 begin 函数体 end; 转载于:https://www.cnblogs.com/piper/p/6957784.html