SQL2008删除LOG附加
EXEC sp_attach_single_file_db @dbname='test',
@physname='C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\test.mdf'
SQL2008删除LOG附加
EXEC sp_attach_single_file_db @dbname='test',
@physname='C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\test.mdf'