Cannot start SQL Server 7.0 in Single User Mode

  • I have some corruption on a table and am wanting to run

    DCBB CheckTable ('MyTable',Repair_Allow_Data_Loss)

    but it must be in Single User Mode to allow this.

    I have tried to re-start the server using -m and also from Run Command sqlservr.exe -m

    The Dos box comes up and runs through quite a bit and stops therefore not re-starting the server. Also from Services with the -m is doesn't place it in single user mode.

    When i go to Query Analyzer it give the error, system must be in single user mode.

    Any help

    Thanks

    Scott

  • Scott,

    You need to set the database in single user mode, not the server. Per BOL...

    The database must be in single-user mode to use a repair option and can be one of the following.

    Right click on the database and select the options tab and select the Single User option. All should work well.

    Hope this helps.

    David

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • Don't forget you cannot put a database in single user mode while people are attached to it.

    Wes

  • thank you....

    feel a bit of a dim wit now...

    was looking from the server point of view..

    thanks for your help, both of you..

    Scott

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply