all groups > sql server dts > january 2007 >
You're in the

sql server dts

group:

Execute SQL Task


Execute SQL Task Paddy
1/13/2007 11:31:47 AM
sql server dts:
I want to execute multiple Stored Procedures from a single Execute SQL
Task, all of them being parameterized..

EXEC usp_MySProc2 ?, ?, ?

EXEC usp_MySProc2 ?, ?

If i try this in the Properties pane of the Execute SQL task, SQL
Server is reporting Invalid Parameter Number.. Is there any way to do
this without having to create multiple Execute SQL tasks

Thanx in Advance,
Paddy
Re: Execute SQL Task Allan Mitchell
1/13/2007 8:47:18 PM
Your best bet is still to create Multiple ExecuteSQL Tasks
OR

Use a Script Task before the ExecuteSQL Task to populate the
SQLStatement property of the ExecuteSQL task.

--


Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com




[quoted text, click to view]
AddThis Social Bookmark Button