O'Reilly logo

Professional SQL Server™ 2005 Integration Services by Mike Murphy, Haidong Ji, Jason Gerard, Erik Veerman, Andy Leonard, Kathi Kellenberger, Douglas Hinson, Darren Green, Allan Mitchell, Brian Knight

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.14. Database Object-Level Tasks

The last section of this chapter is reserved for a set of tasks that are going to be convenient for copying or moving schema and data-level information. These tasks are similar to the Transfer SQL Objects tasks from DTS and should be compatible if you transfer any packages using these tasks from DTS to SSIS. These tasks can do the following:

  • Move or copy entire databases. This can be accomplished by detaching the database and moving the files (faster) or by moving the schema and content (slower)

  • Transfer error messages from one server to another.

  • Move or copy selected or entire SQL Agent jobs.

  • Move or copy server-level or database-level logins.

  • Move or copy objects such as tables, views, stored procedures, functions, defaults, user-defined data types, partition functions, partition schemas, schemas (or roles), sql assemblies, user-defined aggregates, user-defined types, and xml schemas. These objects can be copied over by selecting all, by individually selecting each desired object types, or even by selecting individual objects themselves.

  • Move or copy master stored procedures between two servers.

6.14.1. Transfer Database Task

The Transfer Database task has, as you would expect, a source and destination connection and a database property. The other properties address how the transfer should take place. Figure 6-47 is an example of the Transfer Database task filled out to copy the AdventureWorks database on the same server as a test instance.

Figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required