将DB从一个路径复制并打开到另一个路径 [英] Copying and opening a DB from one path to another
本文介绍了将DB从一个路径复制并打开到另一个路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在一个路径中有一个数据库,所以我将数据库复制到另一个路径。当我在SQL Management工作室中打开时,它仍然显示与第一个相同的路径。如果我更改数据库中的任何内容将影响原始数据库?
解决方案
如果要备份数据库,请阅读:
创建完整数据库备份(SQL Server) [ ^ ]
使用复制数据库向导 [ ^ ]
使用备份和还原复制数据库 [ ^ ]
虽然,我认为你想使用分离和附加移动数据库(Transact-SQL) [ ^ ]
I have a DB in one path so i have copied the DB to another path.When i open in the SQL Management studio it is still showing the same path as first.If i change anything in the DB will effect the original one?
解决方案
If you want to backup your database, please read this:
Create a Full Database Backup (SQL Server)[^]
Use the Copy Database Wizard[^]
Copy Databases with Backup and Restore[^]
Although, i think you want to Move a Database Using Detach and Attach (Transact-SQL)[^]
这篇关于将DB从一个路径复制并打开到另一个路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文