Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Importing data using SSIS Package

Importing data using SSIS Package

Scheduled Pinned Locked Moved Database
sql-serverhelpdatabasesysadminalgorithms
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    indian143
    wrote on last edited by
    #1

    Hi All, I have an SSIS package, which is trying to import data from a flat file in to a destination table in SQL. But the problem is not all columns in the destination table should come from flat file, there are few columns that should be filled from some other SQL Server source table. Can we import data from a flat file and a table simultaneously into one table, is so how can we do that? Please help me, its urgent. I am also searching but any help like code snippet, link or even a free advice is great. Thanks in advance.

    Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

    M 2 Replies Last reply
    0
    • I indian143

      Hi All, I have an SSIS package, which is trying to import data from a flat file in to a destination table in SQL. But the problem is not all columns in the destination table should come from flat file, there are few columns that should be filled from some other SQL Server source table. Can we import data from a flat file and a table simultaneously into one table, is so how can we do that? Please help me, its urgent. I am also searching but any help like code snippet, link or even a free advice is great. Thanks in advance.

      Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Change your strategy to ELT, import your data into a staging table that is an exact match for the source, all varchar columns! The use a stored proc to transform the data into your final table. This method NEVER fails in the load process because of missing columns or date formats or a number has a $ sign. Never underestimate the power of human stupidity RAH

      J 1 Reply Last reply
      0
      • M Mycroft Holmes

        Change your strategy to ELT, import your data into a staging table that is an exact match for the source, all varchar columns! The use a stored proc to transform the data into your final table. This method NEVER fails in the load process because of missing columns or date formats or a number has a $ sign. Never underestimate the power of human stupidity RAH

        J Offline
        J Offline
        Jorgen Andersson
        wrote on last edited by
        #3

        Have a five.

        Be excellent to each other. And... PARTY ON, DUDES! Abraham Lincoln

        1 Reply Last reply
        0
        • I indian143

          Hi All, I have an SSIS package, which is trying to import data from a flat file in to a destination table in SQL. But the problem is not all columns in the destination table should come from flat file, there are few columns that should be filled from some other SQL Server source table. Can we import data from a flat file and a table simultaneously into one table, is so how can we do that? Please help me, its urgent. I am also searching but any help like code snippet, link or even a free advice is great. Thanks in advance.

          Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          Dammed if I know why someone would down vote this it is a perfectly valid question - balanced. Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups