How to call Stored Procedure in a View?

前端 未结 7 2191
灰色年华
灰色年华 2020-12-01 07:39

How would I call a Stored Procedure that returns data in a View? Is this even possible?

7条回答
  •  [愿得一人]
    2020-12-01 08:17

    If you are using Sql Server 2005 you can use table valued functions. You can call these directly and pass paramters, whilst treating them as if they were tables.

    For more info check out Table-Valued User-Defined Functions

提交回复
热议问题