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. SSIS: How to import many tables?

SSIS: How to import many tables?

Scheduled Pinned Locked Moved Database
databasequestionsql-serverjsontutorial
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.
  • B Offline
    B Offline
    biop codeproject
    wrote on last edited by
    #1

    Dear all, I am new to the SSIS. I have many tables from old database (SQL 2000) and have to transfer to a new database (SQL 2012). I have created one SSIS project and have successfully shipped the data of one table already. I have also added a 'Execute SQL Task' to clean out table and reset identity column before the 'Data Flow Task'. Now what is the best way to import the rest? Import all tables in just one package? Or create one package for each table and create one package to 'call' all other package one by one? I think it is possible to create one package and use parameter to go over a pre-defined set of tables.

    M L 2 Replies Last reply
    0
    • B biop codeproject

      Dear all, I am new to the SSIS. I have many tables from old database (SQL 2000) and have to transfer to a new database (SQL 2012). I have created one SSIS project and have successfully shipped the data of one table already. I have also added a 'Execute SQL Task' to clean out table and reset identity column before the 'Data Flow Task'. Now what is the best way to import the rest? Import all tables in just one package? Or create one package for each table and create one package to 'call' all other package one by one? I think it is possible to create one package and use parameter to go over a pre-defined set of tables.

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

      Why SSIS, do you expect to have to repeat this process? If it is a one off exercise then I would set up a linked server and drag the data across using scripts, saving the scripts of course. Actually I would backup and restore onto the 2012 server if it will work, I'm not sure the restore would work over such a wide version range!

      Never underestimate the power of human stupidity RAH

      B 1 Reply Last reply
      0
      • M Mycroft Holmes

        Why SSIS, do you expect to have to repeat this process? If it is a one off exercise then I would set up a linked server and drag the data across using scripts, saving the scripts of course. Actually I would backup and restore onto the 2012 server if it will work, I'm not sure the restore would work over such a wide version range!

        Never underestimate the power of human stupidity RAH

        B Offline
        B Offline
        biop codeproject
        wrote on last edited by
        #3

        Well, I have already imported several tables. And the last one is a painful one. As for the last one, I still have to split that (old) one into five new tables. I think I am going to try to use the linked server approach. Thanks.

        1 Reply Last reply
        0
        • B biop codeproject

          Dear all, I am new to the SSIS. I have many tables from old database (SQL 2000) and have to transfer to a new database (SQL 2012). I have created one SSIS project and have successfully shipped the data of one table already. I have also added a 'Execute SQL Task' to clean out table and reset identity column before the 'Data Flow Task'. Now what is the best way to import the rest? Import all tables in just one package? Or create one package for each table and create one package to 'call' all other package one by one? I think it is possible to create one package and use parameter to go over a pre-defined set of tables.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          If it is a one off work out then I would set up a connected hosting server and move the information across using programs, preserving the programs of course. how to franchise your business

          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