Solved

Prompt and pass parameter to a SSIS job

Posted on 2009-05-14
7
373 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 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

739 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