deepkt (2/21/2012)
Thanks for the reply Eugene Elutin.Is there any other way without configuring Ad Hoc Distributed Queries option?
Thanks
Stored procedures actually do not have an explicit metadata contract.
If you do want that, use a table valued function instead.
Stored procedures are not parameterized views
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP