我需要将大约40个数据库从一台服务器复制到另一台服务器.新数据库应该有新的名称,但所有表、数据和索引都与原始数据库相同.到目前为止,我一直:
1) creating each destination database
2) using the "Tasks->Export Data" command to create and populate tables for each database individually
3) rebuilding all of the indexes for each database with a SQL script
每个数据库只有三个步骤,但我打赌有一种更简单的方法.有没有MS SQL Server专家有什么建议?