Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / SQL / December 2008

Tip: Looking for answers? Try searching our database.

Taking Control of a SQL Database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nigel Ainscoe - 31 Dec 2008 10:15 GMT
Hi,

I have a SQL Server 2005 database that I do not have sysadmin credentials
for, only Public, but I need to take control of it. I.e. give myself
sysadmin. I have Enterprise Admin credentials on the domain.

Anyone know what the best/quickest way of going about this?

TIA & HNY
Nigel Ainscoe
Rick Sawtell - 31 Dec 2008 13:32 GMT
> Hi,
>
[quoted text clipped - 6 lines]
> TIA & HNY
> Nigel Ainscoe

By default the BUILTIN\Administrators role will allow you sysadmin rights
when you log in as a Windows Admin.  If this role has been removed from the
sysadmins sql server group, then you are pretty well stuck.  Your next
choice is probably to rebuild the master database, set yourself up as an
admin, then reconnect all of the other databases and recreate the other
logins etc.

Rick Sawtell
Nigel Ainscoe - 31 Dec 2008 14:09 GMT
Thanks Rick, I think I'll just leave it as it is. It is the Small Business
Server monitoring database and if I start rebuilding the master database I
can see there being no monitoring going on in a very short space of time ;-)

>> Hi,
>>
[quoted text clipped - 15 lines]
>
> Rick Sawtell
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.