07-31-2023, 08:41 AM
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 <your spid>
ALTER DATABASE <your db> SET MULTI_USER;
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 <your spid>
ALTER DATABASE <your db> SET MULTI_USER;