dbTalk Databases Forums  

Execute Pkg from Pkg

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


Discuss Execute Pkg from Pkg in the microsoft.public.sqlserver.dts forum.



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

Default Execute Pkg from Pkg - 04-21-2006 , 05:07 AM






I have a set of pkgs I want to execute from a "master" pkg. These are for
distribution to a customer who wants SQL authentication. We can't have the
PWD unencrypted in the master pkg, so what params do I use for
LoadFromSqlServer in the master pkg to create and execute the child packages?

Can I define a Connection object in master pkg with SQL authentication and
same UID/PWD as children and somehow use that?

LMcPhee

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

Default Re: Execute Pkg from Pkg - 04-21-2006 , 10:38 AM






You can store the configuration information external the packages say in a
DB table or an ini file and use that. Your packages will look for the info
in here and configure themselves

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"lmcphee" <lmcphee (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a set of pkgs I want to execute from a "master" pkg. These are for
distribution to a customer who wants SQL authentication. We can't have the
PWD unencrypted in the master pkg, so what params do I use for
LoadFromSqlServer in the master pkg to create and execute the child
packages?

Can I define a Connection object in master pkg with SQL authentication and
same UID/PWD as children and somehow use that?

LMcPhee



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

Default Re: Execute Pkg from Pkg - 04-21-2006 , 11:31 AM



Wherever the connection info goes, it would have to be encrypted. It could be
stored in SQL. So have to write it encrypted, and then retrieve it with an
encrypted procedure, limiting access to the procedure?

LMcPhee

"Allan Mitchell" wrote:

Quote:
You can store the configuration information external the packages say in a
DB table or an ini file and use that. Your packages will look for the info
in here and configure themselves

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"lmcphee" <lmcphee (AT) discussions (DOT) microsoft.com> wrote in message
news:AB38A3AD-C9B9-4FE1-920C-0A2FDD022510 (AT) microsoft (DOT) com...
I have a set of pkgs I want to execute from a "master" pkg. These are for
distribution to a customer who wants SQL authentication. We can't have the
PWD unencrypted in the master pkg, so what params do I use for
LoadFromSqlServer in the master pkg to create and execute the child
packages?

Can I define a Connection object in master pkg with SQL authentication and
same UID/PWD as children and somehow use that?

LMcPhee




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

Default Re: Execute Pkg from Pkg - 04-21-2006 , 11:52 AM



If the connection info is stored in SQL Server and the connection info is
the info you need to connect to the server then that isn't going to work.
If the server from which you get the encrypted connection info is able to be
connected to then we can still store it in there. You need to encrypt and
then decrpyt from here though right.

OK what about this for an option.

You pass in the connection info to the package on the cmdline using DTSRun.
You tell DTSRun to encrypt the command.

Would that work?


--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"lmcphee" <lmcphee (AT) discussions (DOT) microsoft.com> wrote

Quote:
Wherever the connection info goes, it would have to be encrypted. It could
be
stored in SQL. So have to write it encrypted, and then retrieve it with an
encrypted procedure, limiting access to the procedure?

LMcPhee

"Allan Mitchell" wrote:

You can store the configuration information external the packages say in
a
DB table or an ini file and use that. Your packages will look for the
info
in here and configure themselves

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"lmcphee" <lmcphee (AT) discussions (DOT) microsoft.com> wrote in message
news:AB38A3AD-C9B9-4FE1-920C-0A2FDD022510 (AT) microsoft (DOT) com...
I have a set of pkgs I want to execute from a "master" pkg. These are
for
distribution to a customer who wants SQL authentication. We can't have
the
PWD unencrypted in the master pkg, so what params do I use for
LoadFromSqlServer in the master pkg to create and execute the child
packages?

Can I define a Connection object in master pkg with SQL authentication
and
same UID/PWD as children and somehow use that?

LMcPhee






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.