Can we pass parameters to a view in SQL?

前端 未结 20 2372
庸人自扰
庸人自扰 2020-11-29 18:29

Can we pass a parameter to a view in Microsoft SQL Server?

I tried to create view in the following way, but it doesn\'t work:

create o         


        
20条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-29 18:59

    no. if you must then use a user defined function to which you can pass parameters into.

提交回复
热议问题