setup db mail

Enable the Database Mail XPs: USE master GO sp_configure ‘show advanced options’,1 GO RECONFIGURE WITH OVERRIDE GO sp_configure ‘Database Mail XPs’,1 GO RECONFIGURE GO Create a new mail profile: USE msdb GO EXECUTE msdb.dbo.sysmail_add_profile_sp @profile_name = ‘admin’, @description = ‘Profile for sending Automated DBA Notifications’…

slipstream sql server 2008

Download SQL server 2008 service pack 3 http://www.microsoft.com/en-us/download/details.aspx?id=27594 Extract SQLServer2008SP3-KB2546951-x64-ENU by running the below command from command line SQLServer2008SP3-KB2546951-x64-ENU /x:”c:SQLSERVER2008SP3″ Run the Setup.exe file from the SQL Server 2008 source media by specifying the /PCUSource parameter. For example: Setup.exe /PCUSource=C:SP1 https://support.microsoft.com/en-us/kb/955392

dbcc checkdb

http://blogs.msdn.com/b/sqlserverstorageengine/archive/2006/10/20/consistency-checking-options-for-a-vldb.aspx DBCC CHECKDB includes: DBCC CHECKALLOC DBCC CHECKCATALOG DBCC CHECKTABLE http://sqlmag.com/blog/unkillable-dbcc-checkdb DBCC CHECKDB(‘DatabaseName’) WITH NO_INFOMSGS, ALL_ERRORMSGS   http://www.bpsoftware.com/Blog/post/2008/11/25/SQL-DBCC-CHECKTABLE-on-multiple-tables.aspx — set options SET NOCOUNT ON; SET ANSI_PADDING ON; SET ANSI_NULLS ON; SET QUOTED_IDENTIFIER ON; DECLARE @tablenames TABLE (TableName VARCHAR(255)); — populate table with tablenames INSERT INTO…