Monday, July 16, 2007

SQl Server Managment

Recently I came accross are really painfull problem of 'msdb label SUSPECT by the recovery'.

The reasons for msdb marked 'SUSPECT' is unrecognizable. But after it, I am unable to access msdb database, which i found out is the backbone for all server related queries. If this happens, you are left with no choice but to restore the DB, but first off all Do you have the backup of msdb database ?

advice : aways take backup of msdb database as soon as you install the sql server.

usefull article : http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1052507,00.html


With SQL Server 2005, there is default remote connections disabled.
use Microsoft SQL Server 2005 -> Configuration Tools -> Surface Area Configuration

To give alias name to an existing Database (which in my project was a limitation; should be local)
use Microsoft SQL Server 2005 -> Configuration Tools -> Configuration Manager (Native CLient Configuration)

Prefer to use authentication as 'windows and sql mode'.
--To do this Right-Click Server on the Managment studio and goto properties
--Select Security and choose desiired authentication.

No comments: