Erro ao criar uma database teste no SQL Server
1 2 |
CREATE DATABASE TESTE2 GO |
Erro
1 2 3 4 |
Msg 1807, Level 16, State 3, Line 1 Could not obtain exclusive lock on database 'model'. Retry the operation later. Msg 1802, Level 16, State 4, Line 1 CREATE DATABASE failed. Some file names listed could not be created. Check related errors. |
Solução
Tinha outra seção lockando a database ‘model’