分离数据库(Detach database).
生活随笔
收集整理的這篇文章主要介紹了
分离数据库(Detach database).
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
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
轉(zhuǎn)載于:https://www.cnblogs.com/listened/p/3524543.html
總結(jié)
以上是生活随笔為你收集整理的分离数据库(Detach database).的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Alwayson--问题总结二
- 下一篇: 【Raspberry Pi】webpy+