Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I need to change 'Value' in an SSIS variable, How can I do this?

Posted on 2014-10-30
4
Medium Priority
?
98 Views
Last Modified: 2016-02-11
I have an SSIS package open in VS 2013.  I am in the process of migrating from server to server.  I need to change the current machine settings. How can I do this and what would be the correct syntax used?
0
Comment
Question by:rhservan
  • 3
4 Comments
 
LVL 66

Expert Comment

by:Jim Horn
ID: 40413573
>I need to change 'Value' in an SSIS variable
If we're talking how to change it in the designer, then click anywhere in the control flow, then View menu > Other Menus > Variables, find the variable name you wish to change in the Name column, and type a new value in the Value column.

If we're talking about how that variable is called when the package is executed (i.e. 'Machine Settings'), you'll have to provide more details as to what this is.
0
 

Author Comment

by:rhservan
ID: 40413630
I get to this point:
find the variable name you wish to change in the Name column
but it doesn't allow me to change the value.  I click on the Value column but it does not let me change it.
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 40414408
<Potentially stupid answers>
If the SSIS package is running, you'll have to stop execution.
Is this SSIS under a source control application such as TFS?  Might be an issue with the package needing to be checked out.
Make sure the file isn't read-only (often happens with TFS).
0
 
LVL 66

Accepted Solution

by:
Jim Horn earned 2000 total points
ID: 40415591
Another possibility (no clue, just guessing here) is that if you've opened VS 2013, then opened an project in an earlier version such as 2008, the project might be read-only unless it is converted up.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
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 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…

782 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