分离数据库(Detach database).
生活随笔
收集整理的这篇文章主要介绍了
分离数据库(Detach database).
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
Many times, we often needs to detach our databases if we want to copy it to another database instances,or even another machine,
here is a simple t-sql command:
1 EXEC sp_detach_db 'AdventureWorks2012', 'true';
Ref: msdn and stackoverflow
转载于:https://www.cnblogs.com/listened/p/3524543.html
总结
以上是生活随笔为你收集整理的分离数据库(Detach database).的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Alwayson--问题总结二
- 下一篇: 【Raspberry Pi】webpy+