EXEC sp_attach_single_file_db 'dbname','绝对路径\dbname.mdf'
转载于:https://www.cnblogs.com/zhang5254/archive/2012/09/24/2699504.html
EXEC sp_attach_single_file_db 'dbname','绝对路径\dbname.mdf'
转载于:https://www.cnblogs.com/zhang5254/archive/2012/09/24/2699504.html