MSSQL备忘

只有mdf 文件,没有日志文件附加数据库的方法
EXEC sp_attach_single_file_db @dbname= 'test'
        , 
@physname=  N'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\test.mdf'
原文地址:https://www.cnblogs.com/nasdaqhe/p/1907335.html