首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

创设函数报 Function created with compilation errors 求解释

2012-10-11 
创建函数报 Function created with compilation errors 求解释这是我比着视频创建的函数create or replace

创建函数报 Function created with compilation errors 求解释
这是我比着视频创建的函数
create or replace function fun1(in_ename varchar2)
return number is
v_annual_sal number;
begin
select sal into v_snnual_sal from emp where ename=in_ename;
return v_annual_sal;
end;
/


本人刚学pl/sql编程,,,创建一值保错,求高手看下那个地方出了问题,谢谢了

[解决办法]
end 跟上函数名
end fun1;

热点排行