Microsoft
Software
Hardware
Network
Question : not able to create DB from model database.
when i run the below,
create database TestLogInFULL
go
use TestLogInFULL
alter database TestLogInFULL set recovery full
select * into TestLogInFULL from sysdatabases where 1=0
The errors are as below:
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.
Msg 911, Level 16, State 1, Line 1
Could not locate entry in sysdatabases for database 'TestLogInFULL'. No entry found with that name. Make sure that the name is entered correctly.
why not?
Answer : not able to create DB from model database.
I fear, with your other question in mind about the db in full recovery mode behaving like in simple recovery mode, that you tampered somehow with the model database. I would suggest a new clean installation ...
Random Solutions
vbscript to extract "logon as a batch" "logon as a service" from a list of Servers
iSCSI target status dead - ESXi 4
Setting up Domain Trusts
mcafee EPO script to remove agent and virusscan
Blackberry Syncing Problem - "No Available Message Stores" error when synchronizing
last 3 rows returned in a group - using slq server 8.0.760
intuitive understanding of the area under the curve - again
How to disable use of USB flask drives?
SQL Server Database Stuck in Single User mode
Insert into MySQL Table from MSSQL Insert Trigger