Sunday, November 9, 2014

How to enable Dedicated Administrator Connection Feature in SQL Server 2008?

DAC feature added from the SQL Server 2005 version. Using DAC feature a Database Administrator can connect to a SQL Server Instance when the database engine is not responding to regular connections and troubleshoot the issue.
Advantage of using DAC is DBA can connect to a SQL Server Instance and execute T-SQL commands to troubleshoot and fix issues rather than rebooting the SQL Server which could lead to database corruption or other problems.
By default DAC is disable, it is a best practice to enable the DAC.
We can enable the DAC using below T-SQL command.

1
2
3
4
5
6
7
8
Use master
GO
sp_configure 'show advanced options' , 1
GO
sp_configure 'remote admin connections', 1
GO
RECONFIGURE
GO


In SQL Server 2008 to enable the DAC, right click on SQL Server and Select facets and from facets drop down Select Surface Area Configuration.

Thursday, November 6, 2014

there are no sql server instances or shared features that can be updated on this computer



Issue:

       while updating sql 2008r2 to sp2 i am getting this error: "there are no sql server instances or shared features that can be updated on this computer"



solution:

      please check weather the sp2  you are updating is related to sql2008r2 or not.