Answer by sepupic for metadata could not be determined because stored...
The problem is not in your proc but in OPENROWSET/OPENQUERY.Prior to SQL Server 2012 to figure out the resultset metadata set fmtonly was used. Starting with 2012 it was replaced by...
View Articlemetadata could not be determined because stored procedure contains dynamic SQL
I have a stored procedure that contains some dynamic SQL. I am trying to execute the stored procedure using OPENROWSET but am getting the error:Msg 11514, Level 16, State 1, Procedure...
View Article
More Pages to Explore .....