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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:54:49+00:00 2026-06-01T01:54:49+00:00

I need to get data from flat files to DB using SSIS . The

  • 0

I need to get data from flat files to DB using SSIS. The problem here is, I have to dynamically choose the Derived Column Transformation(DCT) depending on the flat file.

Example:

Suppose I have flatfile-1 which need the DCT with 5 columns,
then if I get another flatfile-2 which needs DCT with 10 columns. So how can I dynamically choose the DCT basing on the flat files?

I have to do it for many tables … kindly share your thoughts.

  • 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-06-01T01:54:50+00:00Added an answer on June 1, 2026 at 1:54 am

    I think I got a way to do this,
    I am writing a C# code for generating the SSIS package. So for each flat file I get in a loop I will process it basing on the number (Each file belongs to a table which is indicated by a number.) Now when I get the flat file I am extracting its name (which contains the number) then on the fly I am getting the table name and the columns of this data group by querying on meta table and use the obtained columns as the columns for “Derived Column Transformation” and basing on the positions (this is in my case where the flat file import is done basing on their positions.) I think by generating the package pro-grammatically we will be able to generate packages for each flat file.
    Hope this helps.

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

Sidebar

Related Questions

I have a text file.I need to get data from this text file and
I have a small problem in my code. I'm using fetch_assoc to get data
I need to get data from an API which returns xml format. here's the
i need to get data along with images from .net web server. i have
I have a requirement where I need to get data from the previous row
In my project, I need to get some data dynamically from socket server. so
I have a situation where I need to get data from one of over
I'm using SQLite database in my application and i need to get data from
I need a method to get the data from an external editor. def _get_content():
I need to figure out how to get the data from D3D textures and

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.