阅读背景:

在SSIS 2012中的OLE DB源中使用动态SQL

来源:互联网 

I have a stored proc as the SQL command text, which is getting passed a parameter that contains a table name. The proc then returns data from that table. I cannot call the table directly as the OLE DB source because some business logic needs to happen to the result set in the proc. In SQL 2008 this worked fine. In an upgraded 2012 package I get "The metadata could not be determined because ... contains dynamic SQL. Consider using the WITH RESULT SETS clause to explicitly describe the result set."I have a stored proc as the SQL command text, w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: