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
Single Sign on for RemoteAPPs in Windows 2008 R2 terminal server
How to create store procedures and pass values in SQL
Difference between using file sharing under a Home Network and a Work Network????
Force Outlook 2003 to use encryption connection to Exchange
Coldfusion - SQL syntax
setup Xsan with couple of Apple macs final cut pro
What technique is being used here?
helpdesk interview for bank
Crystal report 2008, draw graph with huge of data.
Iterating through a PDF file (stepping through) for validation purposes