1. 格式如下:
----------------------------------------------------------------------------------------------------------------------
   create  or  replace function  函数名 return 返回值的类型  as

    begin

    函数定义

    end  函数名;
-------------------------------------------------------------------------------------------------------------------------
CREATE OR REPLACE function PLANFARM.shang_test1_fuc  return number 
as
retCount number;
begin

select count(*)  into   retCount  from dual;

return  retCount;   

end;
-------------------------------------------------------------------------------------------------------------------------

7. Oracle创建无参函数

   
--------------------------执行调用过程--------------------------------------------------------------------------

7. Oracle创建无参函数

相关文章:

  • 2021-09-30
  • 2021-09-16
  • 2022-02-27
  • 2021-12-17
  • 2021-05-28
  • 2022-02-05
  • 2021-12-27
  • 2022-12-23
猜你喜欢
  • 2021-09-28
  • 2022-12-23
  • 2021-08-14
  • 2021-12-14
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案