Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6356749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:01:42+00:00 2026-05-24T23:01:42+00:00

My DBA has several SSIS packages that he would like the functionality of providing

  • 0

My DBA has several SSIS packages that he would like the functionality of providing the end user with a way to input values for variables in the package. What would be the best solution for creating an application that would take the user input and pass the data through to the SSIS package variables?

I have looked at http://blogs.msdn.com/b/michen/archive/2007/03/22/running-ssis-package-programmatically.aspx , and I have even come pretty close with some of the information here – http://msdn.microsoft.com/en-us/library/ms403355(v=sql.100).aspx#Y1913 .

I can get this work locally using this code

    Dim packageName As String
    Dim myPackage As Package
    Dim integrationServices As New Application

    If integrationServices.ExistsOnSqlServer(packageName, ".", String.Empty, String.Empty) Then
        myPackage = integrationServices.LoadFromSqlServer( _
          packageName, "local", String.Empty, String.Empty, Nothing)
    Else
        Throw New ApplicationException( _
          "Invalid package name or location: " & packagePath)
    End If

    myPackage.Variables.Item("Beg_Date").Value = startDate
    myPackage.Variables.Item("End_Date").Value = endDate
    myPackage.Execute()

Problem is this requires that the user have SSIS installed locally.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:01:42+00:00Added an answer on May 24, 2026 at 11:01 pm

    You can use variables as the configuration and pass them through at run time. We do this with parent packages that call child packages (which have the variables) but I believe it is possible to send them directly in the call to the package (which you could create dynamically) this way as well.

    You could store the variables in a config table and have the user update the config table through t-sql and then call the package as well. This would only work if you have different parent packages for each user or there is no way that users would be running at the same time to avoid race conditions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a data model that has some requirements. I would like to find
How do I grant a user DBA rights in Oracle? I guess something like:
I'm a normal would be DBA level developer. I've been handling some databases with
My colleague mentioned that our client DBA proposed the removal of all foreign key
I have setup a simple Oracle external table test that I (alongside a DBA
DBA (with only 2 years of google for training) has created a massive data
I develop some application that has database wery generic so really can't use it
I have to install an application server that requires an user to write to
Like MySQL has SHOW TABLES , how do you count tables in Oracle DB.
Is there any way for a DBA to peek in on the execution plan

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.