all groups > sql server connect > march 2005 >
You're in the

sql server connect

group:

Deleted Default Database



Deleted Default Database KitCaz
3/29/2005 8:17:02 AM
sql server connect: I had two databases on my server, and I just deleted the one which SQL Server
has identified as the default database. Now I can't connect to the server
via SQL Enterprise Manager. How can I rectify this situation? The server
Re: Deleted Default Database KitCaz
3/29/2005 8:59:04 AM
Great, thanks! I see now it was a user ID thing.

[quoted text, click to view]
Re: Deleted Default Database Scott Morris
3/29/2005 11:21:32 AM
Actually, EM is the source of the problem. Login via another program (e.g.,
query analyzer) and reset the default db to one that exists (using
sp_defaultdb).

[quoted text, click to view]

AddThis Social Bookmark Button