热门

最新

红包

立Flag

投票

同城

我的

发布
m0_49646372
我要当工程师
5 年前
truem0_49646372

请问大佬再MySQL里面这样定义函数有什么问题吗,为什么一直报错呜呜呜呜呜
create function dept_count(dept_name varchar(20))
returns integer
begin
declare d_count integer;
select count(*)into d_count
from instructor
where instructor.dept_name=dept_name;
return d_count;
end

CSDN App 扫码分享
分享
评论
3
打赏
  • 复制链接
  • 举报
下一条:
error LNK2019无法解析的外部符号的问题怎么解决,而且我的附加库目录为什么是空的哇 求大佬解决
立即登录