SQL Server 2008: SSIS pakage with parameters
10 pts.
0
Q:
SQL Server 2008: SSIS pakage with parameters
I need to create SSIS package with user entered date parameter. I have two questions:
1. How I can promt the parameter when I test the package in debyg mode.
2. How can I put on the begining of the package design condition:
Global Variable gvar_Date datetime;
If @p_Date is null Then gvar_Date = getdate()
Else gvar_Date= @p_Date

Thank you for your respond

IG
ASKED: Mar 16 2009  8:43 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
46795 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Declare the variable as a package level variable. Then put some code in a script task which checks the value of the varabile. If the value is the default value that you set when you created the variable use the InputBox function in .NET to prompt the user to enter a value.
Last Answered: Mar 17 2009  0:39 AM GMT by Mrdenny   46795 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0