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. Migrate data from production database to testing database

Migrate data from production database to testing database

Scheduled Pinned Locked Moved Database
databasetestingbeta-testingtutorialworkspace
3 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.
  • U Offline
    U Offline
    User 12396770
    wrote on last edited by
    #1

    Dear All, We have below requirement kindly suggest the best solutions. Requirement : Extract specific data from the production database and need to load those data to test environment database. For example, in production database has 100 tables, need to exact 40 tables with specific data ( Don't want to extract all data only few data based on input rule). Kindly suggest best solution to avoid huge effort. Thank you in advance. Best Regards

    W CHill60C 2 Replies Last reply
    0
    • U User 12396770

      Dear All, We have below requirement kindly suggest the best solutions. Requirement : Extract specific data from the production database and need to load those data to test environment database. For example, in production database has 100 tables, need to exact 40 tables with specific data ( Don't want to extract all data only few data based on input rule). Kindly suggest best solution to avoid huge effort. Thank you in advance. Best Regards

      W Offline
      W Offline
      Wombaticus
      wrote on last edited by
      #2

      Well, it would help to know what database you are using.... Don't you have any kind of database backup in place? Can't you just sue that to populate your test database? But anyway, most databases have admin tools that allow you to export data in one form or another... and failing that, you could always write your own script to create a bunch of SQL INSERT statements....

      1 Reply Last reply
      0
      • U User 12396770

        Dear All, We have below requirement kindly suggest the best solutions. Requirement : Extract specific data from the production database and need to load those data to test environment database. For example, in production database has 100 tables, need to exact 40 tables with specific data ( Don't want to extract all data only few data based on input rule). Kindly suggest best solution to avoid huge effort. Thank you in advance. Best Regards

        CHill60C Offline
        CHill60C Offline
        CHill60
        wrote on last edited by
        #3

        Is this MS SQL Server you are referring to? If so you can use the SSMS Wizard to set up a package to export the data - very easy to use and once the package is in place you can tweak it if you need to use it again... We had a similar set up on our Test database (so that we could change it without having to have update permissions on Production)

        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