Solved

How do I read a user defined variable into a ssis script task and then output a value?

Posted on 2010-09-01
8
382 Views
Last Modified: 2013-11-10
How do I read a user defined variable into a ssis script task and then output a value?
0
Comment
Question by:Mr_Shaw
  • 4
  • 3
8 Comments
 
LVL 14

Expert Comment

by:Emes
ID: 33578940
0
 

Author Comment

by:Mr_Shaw
ID: 33579011
I read it am it went over my head.

Any easier examples.
0
 
LVL 16

Accepted Solution

by:
vdr1620 earned 500 total points
ID: 33579270
If you just want to read from variable ..you can use below script
Public Sub Main()
    Dim Column_Name As String
    Column_Name = ReadVariable("VariableName")
End Sub

Open in new window

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Mr_Shaw
ID: 33579396
How do I read one variable and then write to another user defined variable
0
 
LVL 16

Expert Comment

by:vdr1620
ID: 33579418
are you trying to convert an Object Variable to User Variable and load data into user variable..Is that the case?
0
 

Author Comment

by:Mr_Shaw
ID: 33579433
No I have a Access FIle Name I need to change to update a connection.
0
 
LVL 16

Expert Comment

by:vdr1620
ID: 33579590
can you explain what you are trying to do?
0
 

Author Closing Comment

by:Mr_Shaw
ID: 33588652
thanks
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Database ERD 4 30
Download ms sql express. 2 28
SQL Quer 4 22
use of sqlCmd command through exec master..xp_cmdshell 7 16
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question