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 ...

Get Professional SQL Server™ 2005 Integration Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.