存储过程作为视图 [英] stored procedure as a view
本文介绍了存储过程作为视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们可以让sp表现为一个视图吗?
can we make sp behave as a view?
推荐答案
你需要基于表格的功能
在SQL Server中使用表值函数 [ ^ ]
这个参考也可能有用
http://www.sommarskog.se/share_data.html#tableparam [ ^ ]
You need table-based functions
Using Table-Valued Functions in SQL Server[^]
This reference may also be useful
http://www.sommarskog.se/share_data.html#tableparam[^]
这篇关于存储过程作为视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文