dbTalk Databases Forums  

Re: Passing Values to Global Variables

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


Discuss Re: Passing Values to Global Variables in the microsoft.public.sqlserver.dts forum.



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

Default Re: Passing Values to Global Variables - 11-13-2003 , 08:06 AM






You can use the sp_OA** stored procs to execute a package in TSQL.
You can use xp_cmdshell and DTSRUN to execute a package in TSQL

Execute a package from T-SQL
(http://www.sqldts.com/Default.aspx?210)

Execute the Stored proc inside the package and assign the results inside.

How to loop through a global variable Rowset
(http://www.sqldts.com/Default.aspx?298)

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Brandon Campbell" <bkc5 (AT) cdc (DOT) gov> wrote

Quote:
Hello,

How does one pass a value from a store procedure to a
package that contains global variables. I know how to do
this as a batch file, but I would like to keep everything
on the server.

Second, I know there is a stored procedure that executes a
package, could you please tell me what that procedure is.

Thank you,

Brandon



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.