Recover / Repair Counter database in SQL

To resolve, follow the steps

  • Take backup of Counter database and close all the application which are using. 
  • Run the below SQL queries in Microsoft SQL server management studio line by line 
USE master ALTER DATABASE counter
SET single_user
DBCC checkdb ('counter','repair_rebuild')
DBCC checkdb ('counter','REPAIR_FAST')
DBCC checkdb ('counter','repair_allow_data_loss')
ALTER DATABASE counter
SET multi_user use Counter dbcc checkdb 

  • In the Message, last line shows the allocation errors and consistency errors, if this is 0 means, your database is recovered. 
  • Take backup of counter database again and use the  despatch application now.

Updates:

Follow us on WhatsApp, Telegram Channel, Twitter and Facebook for all latest updates

Post a Comment

Previous Post Next Post

Most Visited

Follow us on WhatsApp, Telegram Channel, Twitter and Facebook for all latest updates

Search Content of www.potools.blogspot.com @