Solved

Prompt and pass parameter to a SSIS job

Posted on 2009-05-14
7
368 Views
Last Modified: 2013-11-10
I have a SQL statement that I run manually each day and have to change one or more pieces of information such as the date when I run it.

The results of the statement generates a "|" delimited file.

Is it possible to set this up as an SSIS that will prompt for parameters?

Thanks
0
Comment
Question by:jdr0606
  • 3
  • 3
7 Comments
 
LVL 22

Assisted Solution

by:PedroCGD
PedroCGD earned 200 total points
ID: 24391545
you want to pass the delimiter dinamically?!
Explain me better what you want!
Regards,

Pedro
www.BIResort.net
www.pedrocgd.blogspot.com
0
 

Author Comment

by:jdr0606
ID: 24391672
If I have a SQL statement that has a where statement that selects based on a particular country code I want the job to display a prompt asking to enter the country code and when the user enters the code the statement will run and generate a file based on the country code entered.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24391894
Are you planning on installing SSIS on every users workstation?  That could be a lot of licenses.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:jdr0606
ID: 24392350
No, only a couple of users need to run this process.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 300 total points
ID: 24397987
It is a little unorthodox, but you should be able to build a script task with some VB.NET code to allow for input from the user.  The value could then be assigned to a Global Variable.

A better aproach would be to automate this process by setting the value programatically without user intervention.  Failing that at least pass in the value as a parameter.
0
 

Author Comment

by:jdr0606
ID: 24398289
Thanks for the feedback.

I asked the question more as "could it be done" before I determined if that was a direction to go.

Clearly from your comments this is not the best approach to my issue.

A simple .NET app will will be a much better solution.

Thanks again!
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24398418
>>A simple .NET app will will be a much better solution.<<
Absolutely.  SSIS packages are for the most part best left unattended.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

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.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now