分离数据库(Detach database).时间:2023-03-09 16:17:30 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: EXEC sp_detach_db 'AdventureWorks2012', 'true'; Ref: msdn and *