Saturday, March 1, 2014

Is it possible to pass TABLE as the output parameter in stored procedure

You can use OPENQUERY or OPENROWSET, as mentioned above, to make stored procedure results table like. There are some limitations with these methods:


http://ift.tt/1kjtvcc


In OPENQUERY this-sql-server-instance can be used instead of a linked server name. It requires setting data accces server option:



exec sp_serveroption @server = 'PRODSVR\SQL2012'
,@optname = 'DATA ACCESS'
,@optvalue = 'TRUE'



LINK: http://ift.tt/1dKYBqb


Kalman Toth Database & OLAP Architect SELECT Video Tutorials 4 Hours

New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012





No comments:

Post a Comment