数据库DB_RPT,备份却是DB_RPT_v2,搞了半天。。。
restore database DB_RPT from disk = 'd:dataDB_RPT_0604.bak' with replace, MOVE N'DB_RPT_v2' TO N'd:DataDB_RPT.mdf', MOVE N'DB_RPT_v2_Log' TO N'd:DataDB_RPT_log.ldf'
数据库DB_RPT,备份却是DB_RPT_v2,搞了半天。。。
restore database DB_RPT from disk = 'd:dataDB_RPT_0604.bak' with replace, MOVE N'DB_RPT_v2' TO N'd:DataDB_RPT.mdf', MOVE N'DB_RPT_v2_Log' TO N'd:DataDB_RPT_log.ldf'