?
Solved

Prompt and pass parameter to a SSIS job

Posted on 2009-05-14
7
Medium Priority
?
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 22

Assisted Solution

by:PedroCGD
PedroCGD earned 600 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

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 900 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

801 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