SQL创建函数

来源:互联网 发布:解题王软件下载 编辑:程序博客网 时间:2024/05/21 08:49

1、

create function f_1(@a int ,@b int)returns intasbegindeclare @c intset @c=@a+@breturn @cend--调用函数。select dbo.f_1(1,2)


原创粉丝点击