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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:40:37+00:00 2026-05-26T00:40:37+00:00

i want to create one ssis package which takes values from flat file and

  • 0

i want to create one ssis package which takes values from flat file and insert it into database table depending upon there companyname.

for example:

I have table fields:

Date        SecurityId   SecurityType   EntryPrice Price  CompanyName
2011-08-31  5033048      Bond           1.05       NULL   ABC Corp

now i want to insert Price into this table but i need to match with CompanyName
and in that also in file CompanyName is like ABC so how can i checked that and insert only particular data…
like this i have 20 records in my file with different company names.

I DID LIKE THISenter image description here

in lookup i did enter image description here

and now my problem is i need to check company name from flat file and insert that company price into table but in flat file company name is given like ‘AK STL’ ans in table it is like ‘AK STEEL CORPORATION’ so for this i have used column transformation but what expression i write to find match …same with other company names only 1ft 2-3 charachters are there in flat file please help

  • 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-26T00:40:38+00:00Added an answer on May 26, 2026 at 12:40 am

    Basically, you are looking to “Upsert” your data into the database. Here is a simple look up upsert example. With as few of records in your dataset as you have said, this method will suffice. With larger datasets, you probably want to look into using temp tables and using sql logic similar to this:

    --Insert Portion
    INSERT INTO FinalTable
    ( Colums )
    SELECT T.TempColumns
    FROM TempTable T
    WHERE
    (
        SELECT 'Bam'
        FROM FinalTable F
        WHERE F.Key(s) = T.Key(s)
    ) IS NULL
    
    --Update Portion
    UPDATE FinalTable
    SET NonKeyColumn(s) = T.TempNonKeyColumn(s)
    FROM TempTable T
    WHERE FinalTable.Key(s) = T.Key(s)
        AND CHECKSUM(FinalTable.NonKeyColumn(s)) <> CHECKSUM(T.NonKeyColumn(s))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created one SSIS package from flat file I'm getting one price value.
I want to create one insert function in php, which I will use to
I want to create a property grid (the one which is similar to the
I want to create a custom property on one of my entities mapped from
I want to create one simple application for sending request from iphone(client) by using
hey guys i want to create one display form in which at the bottom
For our approach we want to create one of the *.config files from scratch
I have 2 projects. I want to create ONE single MSI setup package that
i want to create one app which draw different charts like pie chart, line
I want to create one View for different Models that are all inherit from

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.