Using OPENQUERY (exec stored procedure) to create new temporary table fails with error 11526
- 阅读更多 关于 Using OPENQUERY (exec stored procedure) to create new temporary table fails with error 11526
问题 I have SQL Server 2012 full version installed on my development PC. I am trying to follow the examples here, which show how to create a new temporary table using a stored procedure as the source of the data. I am trying to combine the results of several stored procedures into a single temporary table (the column-structure/definition of the various resultsets is identical). To test if the plumbing is working, I issue this query: SELECT * FROM OPENQUERY("FOO\SQL2012", 'exec mySchema