And shrinking via management studio doesn't work;
sp_detach_db [database name]
Then rename or delete the log file
Then
EXEC sp_attach_db @dbname = N'pubs',
@filename1 = N'c:\Program Files\Microsoft SQL Server\MSSQL\Data\pubs.mdf',
This will create a new blank log file and get you up and running.
No comments:
Post a Comment