Wednesday, January 31, 2018

SQL - Call Stored Procedure in a view

Typically, you can not directly EXEC a store procedure in a view, but we can use OPENQUERY() to play the trick:



But, you do need data access on the server to run Openquery().

No comments:

Post a Comment