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
378 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
 

Author Comment

by:Mr_Shaw
ID: 33579396
How do I read one variable and then write to another user defined variable
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now