何时使用以及为何使用内联表值函数? [英] When to use and why to use inline table valued function ?

查看:109
本文介绍了何时使用以及为何使用内联表值函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我的问题是为什么要使用内联表值函数和何时。



正如我在这里看到的只是一个完整的表语句的返回,我们无论如何已经在sps中返回所有这些东西..仍然为什么人们使用表值在sps中再次运行..这可以通过简单地在SP中直接编写这些代码来实现..



请详细说明。

Hi There ,

My question is that why to use inline table valued function and when .

As what i can see in this is just a return of complete table statement , which we anyhow return all this things in sps already .. Still why people use table valued functions again within sps .. which can be achived by simpley writing those code directly in SP ..

Please elaborate .

推荐答案

浏览使用表格 - 文章中的结论SQL Server中的有价值函数 [ ^ ]。

另一种观点 - http://www.sqlservergeeks.com/blogs/piyush。 bajaj.2007 / SQL服务器-BI / 521 / SQL - 服务器%E2%80%93-是-inline-表值函数 - 优于视图 [ ^ ]


这篇关于何时使用以及为何使用内联表值函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆