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 269989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T23:55:37+00:00 2026-05-11T23:55:37+00:00

I have an OLE DB Command component in an SSIS Package that runs an

  • 0

I have an OLE DB Command component in an SSIS Package that runs an update statement against a SQL table. Now, my statement initially is like:

update myTable set columnA=?, columnB=? where columnC=?

Where the three “?”‘s are inputs to my component from another Conditional Split component. I can link each column name with each input parameter (the ?), so column A = param0, column B = param1.

Now, my query is more complex, I need to do;

update myTable set columnA=(param1+param2), columnB=(param2) where columnC=param1*param2

How can I do this in SSIS?

  • 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-11T23:55:38+00:00Added an answer on May 11, 2026 at 11:55 pm

    Why not just have a derived column before the update command, and calculate these fields?

    Create new columns with names/value as such:
    columnA=param1+param2:
    columnB=param2:
    columnC=param1*param2:

    Then redirect the output to the update command and use them as the parameters. This way, you do not have to do any calculations in your query, which makes for a much cleaner IS package.

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

Sidebar

Related Questions

I have an SSIS package that takes data from Tables in an SQL database
I have an SSIS data flow task with an OLE DB Destination component that
I'm working on some OLE DB code that runs queries on MS SQL Server
In SSIS 2008 I have a Script Task that checks if a table exists
I am trying to create an SSIS package that queries data from a table,
When using SSIS to load data from a source table, we have a OLE
I have a BIDS 2008 SSIS Package accessing a Pervasive SQL database using the
It seems that when using the OLE DB Command within SSIS problems occur when
I have created ssis package that is taking data from excel file and insert
Have a pretty straight forward SSIS package: OLE DB Source to get data via

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.