Exit single-user mode

前端 未结 18 1051
离开以前
离开以前 2020-12-12 09:32

Currently, my database is in Single User mode. When I try to expand me database, I get an error:

The database \'my_db\' is not accessible.(ObjectExplo

18条回答
  •  Happy的楠姐
    2020-12-12 09:57

    Press CTRL + 1

    find the process that locks your database. Look in column dbname for your db and note the spid. Now you have to execute that statement:

    kill 
    ALTER DATABASE  SET MULTI_USER;
    

提交回复
热议问题