Click here to Skip to main content
15,900,973 members
Home / Discussions / Database
   

Database

 
AnswerRe: Find lowest common ancestor in a in a tree using the Adjacency list model Pin
Mycroft Holmes16-Oct-09 23:07
professionalMycroft Holmes16-Oct-09 23:07 
GeneralRe: Find lowest common ancestor in a in a tree using the Adjacency list model Pin
Jörgen Andersson17-Oct-09 11:44
professionalJörgen Andersson17-Oct-09 11:44 
GeneralRe: Find lowest common ancestor in a in a tree using the Adjacency list model Pin
Mycroft Holmes17-Oct-09 13:25
professionalMycroft Holmes17-Oct-09 13:25 
QuestionUpdate top row Pin
dptalt16-Oct-09 3:49
dptalt16-Oct-09 3:49 
AnswerRe: Update top row Pin
Eddy Vluggen16-Oct-09 4:50
professionalEddy Vluggen16-Oct-09 4:50 
GeneralRe: Update top row Pin
i.j.russell16-Oct-09 10:41
i.j.russell16-Oct-09 10:41 
GeneralRe: Update top row Pin
Not Active16-Oct-09 13:08
mentorNot Active16-Oct-09 13:08 
AnswerRe: Update top row Pin
Geoff Williams16-Oct-09 4:56
Geoff Williams16-Oct-09 4:56 
QuestionMSSQL Question Pin
Wouter Coinless16-Oct-09 3:13
Wouter Coinless16-Oct-09 3:13 
AnswerRe: MSSQL Question Pin
Luc Pattyn16-Oct-09 3:58
sitebuilderLuc Pattyn16-Oct-09 3:58 
GeneralRe: MSSQL Question Pin
Wouter Coinless16-Oct-09 4:37
Wouter Coinless16-Oct-09 4:37 
GeneralRe: MSSQL Question Pin
J4amieC16-Oct-09 4:54
J4amieC16-Oct-09 4:54 
QuestionBreak Fullname Into First And Last Name Pin
AndyInUK15-Oct-09 23:29
AndyInUK15-Oct-09 23:29 
AnswerRe: Break Fullname Into First And Last Name Pin
Andy_L_J15-Oct-09 23:34
Andy_L_J15-Oct-09 23:34 
AnswerRe: Break Fullname Into First And Last Name Pin
Eddy Vluggen16-Oct-09 0:01
professionalEddy Vluggen16-Oct-09 0:01 
AnswerRe: Break Fullname Into First And Last Name Pin
dan!sh 16-Oct-09 0:52
professional dan!sh 16-Oct-09 0:52 
GeneralRe: Break Fullname Into First And Last Name Pin
J4amieC16-Oct-09 4:54
J4amieC16-Oct-09 4:54 
GeneralRe: Break Fullname Into First And Last Name Pin
Richard MacCutchan16-Oct-09 5:20
mveRichard MacCutchan16-Oct-09 5:20 
GeneralRe: Break Fullname Into First And Last Name Pin
dan!sh 16-Oct-09 5:51
professional dan!sh 16-Oct-09 5:51 
Question"Cannot open database" if logging into SQL-server too fast [modified] Pin
Jörgen Sigvardsson15-Oct-09 21:31
Jörgen Sigvardsson15-Oct-09 21:31 
AnswerRe: "Cannot open database" if logging into SQL-server too fast Pin
Soundman32.216-Oct-09 0:59
Soundman32.216-Oct-09 0:59 
General[Solution] Re: "Cannot open database" if logging into SQL-server too fast Pin
Jörgen Sigvardsson16-Oct-09 1:05
Jörgen Sigvardsson16-Oct-09 1:05 
I could if I wanted to, but it doesn't help. The problem is that once the SQL server is reporting to be started to the SCM, it still hasn't made all databases online yet (only the master database is available). That work progresses after the SCM has been signalled that the service is running.

I found the solution to be easier than I thought. All I have to do is to
SELECT COUNT(*) FROM sys.databases WHERE name=@database_name AND state_desc='online'
and see if it returns 0 or 1. Once the database manager reports the database as online, it is possible to use the database.

--
Kein Mitleid Für Die Mehrheit

QuestionProduct Page From Database Pin
johntwebb15-Oct-09 15:25
johntwebb15-Oct-09 15:25 
AnswerRe: Product Page From Database Pin
Mycroft Holmes15-Oct-09 17:43
professionalMycroft Holmes15-Oct-09 17:43 
GeneralRe: Product Page From Database Pin
johntwebb16-Oct-09 0:51
johntwebb16-Oct-09 0:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.