2020年2月2日
摘要: 多语句表值函数顾名思义是返回了一张表,可以传入多个参数 1.定义 1 Use AdventureWorks2014; 2 go 3 if exists(select * from sys.objects where name='udf_SEL_SalesQuota') 4 drop function 阅读全文
posted @ 2020-02-02 18:04 雯烈 阅读(1617) 评论(0) 推荐(0) 编辑
摘要: 标量函数用于传入多个参数返回一个结果 1.定义 1 use AdventureWorks2014; 2 go 3 if exists(select * from sys.objects where name='udf_GET_AssignedEquipment') 4 drop function d 阅读全文
posted @ 2020-02-02 15:17 雯烈 阅读(342) 评论(0) 推荐(0) 编辑