Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Package failed with following errors -Parameter Information cannot be derived from SQL statements with sub-select queries. Set parameter information before preparing command

$
0
0

Trying to execute the SSIS package in BIDS-2005 and keep getting same error. While same package works in BIDS 2008 very well. I downgraded package from 2008 to 2005 also made it from scratch using BIDS-2005 but still same error.

passing BatchID1 as ? in below querry. BatchID is column in dbo.my_table.

trying to load row count from my_db.dbo.xyz to dbo.my_table

UPDATE dbo.my_table SET SrcRecCnt = (select COUNT(*) from My_db.dbo.xyz)
WHERE BatchID=?" failed with the following error: "Parameter Information cannot be derived from SQL statements with sub-select queries. Set parameter information before preparing command.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.        Any one has face this issue and can help me with solution would be great help               Thanks


Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>