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

  • Home
  • SEARCH
  • 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 6051217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:47:57+00:00 2026-05-23T07:47:57+00:00

SQL 2008 : SSIS Package Exporting .CSV file to SQL Table. My SQL Table

  • 0

SQL 2008 : SSIS Package

Exporting .CSV file to SQL Table.

My SQL Table has an additional column : [SortCode]. Value of this Column is appended through a Variable.

Instead of writing an Update Query to update the SQL Rows, is there anyway for me to insert along with export !!

  • 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-23T07:47:57+00:00Added an answer on May 23, 2026 at 7:47 am

    You can create a new column using a Derived Column transformation by assigning a variable as the column value.

    1. Screenshot #1 shows the Data Flow Task configuration.

    2. Screenshot #2 shows how the flat file source is configured to read a CSV file. Note, only two columns are present in the CSV file.

    3. Screenshot #3 shows how a new column named SortCode is added using the Derived Column transformation. Note, the column is type casted as integer using (DT_I4). You can type cast it using different type cast operators.

    4. Screenshot #4 shows how the columns are mapped in the destination. Note that the new column is also mapped.

    Hope that helps.

    Screenshot #1:

    1

    Screenshot #2:

    2

    Screenshot #3:

    3

    Screenshot #4:

    4

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

Sidebar

Related Questions

I have a [SQL 2008] SSIS package that takes a CSV text file and
SQL 2008 : Using SQL SSIS Package, I am exporting Excel Sheet to Text
I need to migrate the DTS (SQL 2000) package into SQL 2008 SSIS. The
I'm importing an SSIS package into SQL Server 2008 Integration Services . The package
I am writing an SSIS package to run on SQL Server 2008. How do
I'm running a fairly substantial SSIS package against SQL 2008 - and I'm getting
I have an SSIS package (SQL 2008) that I need to connecto to an
I've got a MS SQL 2008 table called fruits that looks like this: id
We have an SSIS package that ran in production on a SQL 2008 box
SQL Server 2008 has new geo data types. One thing I am wondering though

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.