Export tabels

  • I am asked to export tabels from one DB to another DB on the same instance with current Schema. CanI get some help as I need to finish it today?

    So far I figured I can do it with DTS import/export wizard, but I am not able to figure out how to with the current schema.

    Thanks

    SV

  • The simplest way is to right click on the 'source' database, select All Tasks and then pick 'Export Data' and follow the wizard. One of the steps allows you to map the to/from fields and data types if the schemas are different.

    Jim Murphy
    http://www.sqlwatchmen.com
    @SQLMurph

  • Thanks!

  • The tables and the schema do not exist on the destination? Then how can it be done?

  • Just follow the wizard. If the table doesn't exist, it'll create it. You should test this between two test databases before using this in production.

    Jim Murphy
    http://www.sqlwatchmen.com
    @SQLMurph

  • Thanks!

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply