Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

MSSQL SERVER VERSION 10.0.4064.0

Posted on by 85

 

We receive the following error when running DBCC CHECKDB against the company Database. 

CHECKDB found 2 allocation errors and 1 consistency errors in database 'SBM01'.

repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (SBM01).

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

We understand MSSQL needs to be in a single user mode. I have tried for hours, with internet onformation, to try to log into SQL in single user mode, and cannot.

It just hangs from the command prompt.  Do we need to turn off firewalls, or Virus protectors. Please help, we need to run the repair script ASAP.

Thank you. 

*This post is locked for comments

  • Kim Saffell Profile Picture
    Kim Saffell 85 on at
    Re: MSSQL SERVER VERSION 10.0.4064.0

    SUCCESS!  Thanks so much!

  • Verified answer
    Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    Re: MSSQL SERVER VERSION 10.0.4064.0

    In management studio type the following to switch SQL to single user mode (replace TWO with your database);

    ALTER DATABASE [TWO]

    SET SINGLE_USER WITH

    ROLLBACK IMMEDIATE

    GO

    And the following to switch back to multi user mode  (replace TWO with your database);

    ALTER DATABASE [TWO] SET MULTI_USER

    GO

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans