Re: how to parameterize a dts package?
- From: "Peter Row" <get.lost@xxxxxxxxxxxx>
- Date: Thu, 12 Jan 2006 09:53:50 -0000
Hi,
The global parameters can be mapped to properties of your connection tasks.
At design time a file must exist in order to save any changes to the
connection task
but as specified the global parameter mapping will take over when it's run.
Bye,
Peter
"Peter Rilling" <peter@xxxxxxxxxxxxxxxxxx> wrote in message
news:e8Cv9tOAGHA.216@xxxxxxxxxxxxxxxxxxxxxxx
> Will this also allow me to change the source location of a text file
> connection? I want to specify the location at runtime but the Sql
> designer requires a file path.
>
> "Darren Green" <darren.green@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> message news:uULPxoOAGHA.2132@xxxxxxxxxxxxxxxxxxxxxxx
>> Peter Rilling wrote:
>>> Hi.
>>>
>>> I am creating a DTS package that has a number of tasks. The primary
>>> purpose of this DTS is to import and process data from local delimited
>>> file.
>>>
>>> I have a data source connection that wraps the source file content and
>>> allows the system to see it as just another database.
>>>
>>> Right now the path to the local files are hardcode. I would like them
>>> to be dynamic. Is there any way to parameterize the DTS so that I can
>>> simply pass information just as file paths into the package.
>>>
>>>
>>
>> Look at using the Dynamic Properties task to read from a location and
>> assign the property. If you need to manipulate the values then use an
>> ActiveX Script Task.
>>
>> Another good way of passing data into a package is to use global
>> variables, which can be set through the /A parameter for DTSRUN.
>>
>> This may be of use-
>>
>> How can I change the filename for a text file connection?
>> (http://www.sqldts.com/default.aspx?200)
>>
>> --
>> Darren
>> http://www.sqldts.com
>> http://www.sqlis.com
>
>
.
- Prev by Date: DTS Package failing on clients server, tried everything, please help
- Next by Date: SSIS stored procedure return value
- Previous by thread: DTS Package failing on clients server, tried everything, please help
- Next by thread: SSIS stored procedure return value
- Index(es):
Relevant Pages
|