恢复MDF文件的命令老是忘

sp_attach_single_file_db @dbname = 'TY2MIS', @physname = 'C:\MSSQL7\Data\TY2MIS.mdf'
原文地址:https://www.cnblogs.com/yzx99/p/116551.html