Welcome to blogs.conchango.com Sign in | Join | Help

Welcome to blogs.conchango.com

SSIS Junkie

SSIS: Execute SQL Task params

Kirk has made a really useful reference post (here: http://sqljunkies.com/WebLog/knight_reign/archive/2005/10/05/17016.aspx) that explains the different ways to supply paramaters to your SQL statement in the Execute SQL Task depending on which connection manager you are using.

I think its worth making the point that if you are wanting to supply parameters like this then there is a method that works every time without fail and you don't have to remember differrent syntaxes for different providers. Simply build the whole SQL statement dynamically using a property expression on the SQLStatementSource property.

This may not work in all situations -like when using output parameters- but if you can use this method...you should do!

-Jamie

 

Published 05 October 2005 23:09 by jamie.thomson

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Professional Association for SQL Server (PASS) SIG said:

October 6, 2005 06:39

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

Powered by Community Server (Personal Edition), by Telligent Systems