Re: Newbie Question on Variables
- From: Todd C <ToddC@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 2 Dec 2008 06:06:01 -0800
Randy:
You need to define the Variables before you can use them. And when you do,
pay particular attention to the Scope of the variables. One created in the
scope of a For Each loop will not be accessible to Tasks *outside* the loop.
Right click on the Control Flow and select Variables.
--
Todd C
"Tom Moreau" wrote:
You can access variables anywhere within a package. However, you still have.
to specify whether you need read/write or just read access within a Script
task.
--
Tom
----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau
"rminder" <rminder@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D27769A3-DAF9-4756-9638-B0F4654C98F3@xxxxxxxxxxxxxxxx
I am getting my feet wet in learning SSIS by taking over a somewhat complex
package. My question has to do with variables. In the Script Task Editor,
when I click on 'Script' on the left, on the right I see something called
ReadWriteVariables. When I enter variable names in this field, do I have
access to these variables anywhere in my package, or just the current
script?
Thanks very much - Randy
- References:
- Newbie Question on Variables
- From: rminder
- Re: Newbie Question on Variables
- From: Tom Moreau
- Newbie Question on Variables
- Prev by Date: RE: SSIS and TFS?
- Next by Date: RE: permission problems during the execution of a vbscript step.
- Previous by thread: Re: Newbie Question on Variables
- Next by thread: Re: DTS copy file and clear first line
- Index(es):
Relevant Pages
|