This procedure details the recommended method for transferring a database from a development server to one of our shared servers. The first half of the article covers how to generate an SQL script for all database objects. The second half of the article covers how to transfer the database to the destination server using the DTS Import/Export Wizard.
Unfortunately, the transfer functionality is limited (due to the non-DBO privileges of the user). Using the DTS Import/Export Wizard, it is not possible to transfer user-defined data types. Also, indexes, keys, and constraints may not transfer correctly. It might be possible to use a custom DTS script to accomplish a full transfer of all objects, however, that would be beyond the scope of our support.
This procedure is applicable to DTS transfers using the following SQL Server combinations:
SQL 7 to SQL 7
SQL 7 to SQL 2000
SQL 2000 to SQL 2000
In this procedure, SQL 2000 is used as an example. If you are using SQL 7, the images might appear slightly different, but the steps will remain the same.
Generating SQL Scripts Using Enterprise Manager: With the Enterprise Manager open, right-click the source database, select All Tasks, and click Generate SQL Script. Within the Generate SQL Scripts dialog box, from the General tab, first click the Show All button and then click to select Script all objects. From the Formatting tab, click to select Generate the CREATE
No comments:
Post a Comment