SQL Server 2008: SSIS pakage with parameters

10 pts.
Tags:
SQL Server 2008
SSIS Package
SSIS Package 2008
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: