1: 先 DETACH 此數據庫
EXEC sp_detach_db 'yourDB', 'true'
2: Del the log file:
SQL安裝目錄》》 MSSQL\Data\yourDB.log
3:ATTACH :EXEC sp_attach_single_file_db @dbname = 'yourDB',
@physname = 'c:\Program Files\Microsoft SQL Server\MSSQL\Data\yourDB.mdf'
EXEC sp_detach_db 'yourDB', 'true'
2: Del the log file:
SQL安裝目錄》》 MSSQL\Data\yourDB.log
3:ATTACH :EXEC sp_attach_single_file_db @dbname = 'yourDB',
@physname = 'c:\Program Files\Microsoft SQL Server\MSSQL\Data\yourDB.mdf'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货