dbTalk Databases Forums  

Dynamically setting FileConnection in SSIS Execute SQL Task

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Dynamically setting FileConnection in SSIS Execute SQL Task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David
 
Posts: n/a

Default Dynamically setting FileConnection in SSIS Execute SQL Task - 07-15-2006 , 03:53 PM






All,

I am trying to load a .sql file dynamically in an SSIS Execute SQL
Task. There doesn't seem to be a way to set the FileConnection
property when you select "File Connection" as your "SQLSourceType".
Does anyone know how to set this property dynamically through an
expression or otherwise? (I don't want to staically set the
filename/path using a "New File Connection.")

Thanks

David


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Dynamically setting FileConnection in SSIS Execute SQL Task - 07-15-2006 , 04:33 PM






Hello David,

What about the file connection do you want to set? The location? this would
be done on the connection manager itself and not the ExecuteSQL Task (ConnectionString
property)

Allan


Quote:
All,

I am trying to load a .sql file dynamically in an SSIS Execute SQL
Task. There doesn't seem to be a way to set the FileConnection
property when you select "File Connection" as your "SQLSourceType".
Does anyone know how to set this property dynamically through an
expression or otherwise? (I don't want to staically set the
filename/path using a "New File Connection.")

Thanks

David




Reply With Quote
  #3  
Old   
David
 
Posts: n/a

Default Re: Dynamically setting FileConnection in SSIS Execute SQL Task - 07-15-2006 , 05:19 PM



Allan,

Thanks. That is what I needed.


Allan Mitchell wrote:
Quote:
Hello David,

What about the file connection do you want to set? The location? this would
be done on the connection manager itself and not the ExecuteSQL Task (ConnectionString
property)

Allan


All,

I am trying to load a .sql file dynamically in an SSIS Execute SQL
Task. There doesn't seem to be a way to set the FileConnection
property when you select "File Connection" as your "SQLSourceType".
Does anyone know how to set this property dynamically through an
expression or otherwise? (I don't want to staically set the
filename/path using a "New File Connection.")

Thanks

David



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.