?
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
Medium Priority
?
387 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

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.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

762 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