dbTalk Databases Forums  

Passing values from 1 sql task to another

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


Discuss Passing values from 1 sql task to another in the microsoft.public.sqlserver.dts forum.



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

Default Passing values from 1 sql task to another - 11-09-2004 , 03:19 PM






Hi all

I have a very simple task to pass value which I retreive from execution task
against MS SQL Server and using it as an input parameter to another sql task
execution which happens to be an execution of procedure on Sybase.
How do I do that?

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

Default Re: Passing values from 1 sql task to another - 11-09-2004 , 03:33 PM






Look at the way we do things using parameters and/or global variables

Global Variables and SQL statements in DTS
(http://www.sqldts.com/default.aspx?205)

Introduction To Global Variables
(http://www.sqldts.com/default.aspx?280)

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


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

Quote:
Hi all

I have a very simple task to pass value which I retreive from execution
task
against MS SQL Server and using it as an input parameter to another sql
task
execution which happens to be an execution of procedure on Sybase.
How do I do that?



Reply With Quote
  #3  
Old   
Gene.
 
Posts: n/a

Default Re: Passing values from 1 sql task to another - 11-09-2004 , 04:56 PM



Allan

I looked, did you? Do you know how exactly you can do that?
SQL Task executions do not accept 'parameters' and global variables could be
used with a very few tasks and sql task execution is not designed to use
global variables.

"Allan Mitchell" wrote:

Quote:
Look at the way we do things using parameters and/or global variables

Global Variables and SQL statements in DTS
(http://www.sqldts.com/default.aspx?205)

Introduction To Global Variables
(http://www.sqldts.com/default.aspx?280)

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Gene." <Gene (AT) discussions (DOT) microsoft.com> wrote in message
news:F8ED1B50-45FE-429A-BDA6-6EF9ACC215C8 (AT) microsoft (DOT) com...
Hi all

I have a very simple task to pass value which I retreive from execution
task
against MS SQL Server and using it as an input parameter to another sql
task
execution which happens to be an execution of procedure on Sybase.
How do I do that?




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.