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
Solved

Prompt and pass parameter to a SSIS job

Posted on 2009-05-14
7
371 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
In this article I will describe the Copy Database Wizard 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.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
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.

808 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