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
ASKED: March 16, 2009  8:43 PM
UPDATED: March 17, 2009  12:39 AM

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following