EXEC sp_attach_single_file_db DBName,'C:\DB_Data.mdf' 转载于:https://www.cnblogs.com/janealer/p/4311619.html