Quantcast
Channel: Making Life Simple » SQL Server
Browsing all 2 articles
Browse latest View live

SQL Server 2008 R2 (Suspect) mode – how to repair?

Run the following SQL statements to fix the issue: EXEC sp_resetstatus ‘yourDBname’; ALTER DATABASE yourDBname SET EMERGENCY DBCC checkdb(’yourDBname’) ALTER DATABASE yourDBname SET SINGLE_USER WITH...

View Article


Shrink transaction log SQL 2008 r2

Once transaction log is full, I was unable to shrink it.  All searches in Google did not help.  Finally I found a script which clears the transaction log if and only if the transaction log is not full...

View Article

Browsing all 2 articles
Browse latest View live