Answered by:
error while executing

Question
-
Hi All,
When i am executing this task throgh SSIS
[Execute SQL Task] Error: Executing the query "EXEC ? = dbo.sp_dw_audit_add ?,?,?,?,?,?,?,?,?,? " failed with the following error: "No value given for one or more required parameters.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Monday, April 29, 2013 2:39 PM
Answers
-
- Proposed as answer by SathyanarrayananS Wednesday, May 1, 2013 3:02 AM
- Marked as answer by Mike Yin Sunday, May 5, 2013 5:10 PM
Monday, April 29, 2013 2:43 PM -
Hi,
Try my blog for an example on Parameter Mapping inside Execute SQL Task in SSIS - http://sathyadb.blogspot.in/2013/04/ssis-execute-sql-task-result-set-and.html
For number of ? mentioned in the query you should do parameter mapping with corresponding variables.
Here are somemore reference links :
http://blogs.msdn.com/b/msdnts/archive/2006/11/17/amazing-ssis-parameters-in-execute-sql-task.aspx
http://technet.microsoft.com/en-us/library/ms140355.aspx
http://www.sqlis.com/sqlis/post/The-Execute-SQL-Task.aspx
sathya --------- Please Mark as answered if my post solved your problem and Vote as helpful if my post was useful.
- Proposed as answer by SathyanarrayananS Wednesday, May 1, 2013 3:02 AM
- Marked as answer by Mike Yin Sunday, May 5, 2013 5:10 PM
Monday, April 29, 2013 4:49 PM
All replies
-
- Proposed as answer by SathyanarrayananS Wednesday, May 1, 2013 3:02 AM
- Marked as answer by Mike Yin Sunday, May 5, 2013 5:10 PM
Monday, April 29, 2013 2:43 PM -
Hi,
Try my blog for an example on Parameter Mapping inside Execute SQL Task in SSIS - http://sathyadb.blogspot.in/2013/04/ssis-execute-sql-task-result-set-and.html
For number of ? mentioned in the query you should do parameter mapping with corresponding variables.
Here are somemore reference links :
http://blogs.msdn.com/b/msdnts/archive/2006/11/17/amazing-ssis-parameters-in-execute-sql-task.aspx
http://technet.microsoft.com/en-us/library/ms140355.aspx
http://www.sqlis.com/sqlis/post/The-Execute-SQL-Task.aspx
sathya --------- Please Mark as answered if my post solved your problem and Vote as helpful if my post was useful.
- Proposed as answer by SathyanarrayananS Wednesday, May 1, 2013 3:02 AM
- Marked as answer by Mike Yin Sunday, May 5, 2013 5:10 PM
Monday, April 29, 2013 4:49 PM