SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS global variables and package variables


SSIS global variables and package variables

Author
Message
mullen_john
mullen_john
SSC-Enthusiastic
SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)

Group: General Forum Members
Points: 115 Visits: 19
I am new to SSIS.

I need to know how to create variables to be used in multiple packages of a project.

I am converting an Access application running on a local PC to be run as a SQL Server Agent job.

I need to create global variables to be used by many other packages in the project.

It appears I can create variables local to a package but not usable by any other package.

Would anyone be able to tell me how to accomplish this?

Remember I am new to this SSIS and do not know all the basic.

Presently I am using an Execute SQL Task Toolbox Control Flow Item's SQL Statement and a Connection Manager of Native OLE DB\Microsoft OLE DB Provider for Oracle (MSDAORA.1).

Cheers!
John Rowan
John Rowan
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26134 Visits: 4647
Read up on package configurations. This will allow you to set your package up to pull in values from environment variables, registry entries, xml files, etc. You should be able to create a solution where multiple packages pull from the save variable store.

John Rowan

======================================================
======================================================
Forum Etiquette: How to post data/code on a forum to get the best help - by Jeff Moden
mullen_john
mullen_john
SSC-Enthusiastic
SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)

Group: General Forum Members
Points: 115 Visits: 19
Thanks John, Where would I get the details on package configurations. Would you be able to provide a link?
Cheers!
John Rowan
John Rowan
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26134 Visits: 4647
Google SSIS package configurations and you'll get a heap of info. Here are a few worth reading:

http://msdn.microsoft.com/en-us/library/ms141682.aspx

http://www.sqlis.com/post/Easy-Package-Configuration.aspx

http://www.sql-server-performance.com/articles/dba/package_configuration_2005_p1.aspx

John Rowan

======================================================
======================================================
Forum Etiquette: How to post data/code on a forum to get the best help - by Jeff Moden
mullen_john
mullen_john
SSC-Enthusiastic
SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)

Group: General Forum Members
Points: 115 Visits: 19
Thank you John!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search