<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8179947273831961493</id><updated>2012-02-16T11:42:01.764+02:00</updated><category term='spid'/><category term='SQL 2008'/><category term='filegroup'/><category term='cluster'/><category term='migrating'/><category term='SQL 7'/><category term='SQL 2005'/><category term='disk'/><category term='mssql'/><category term='blocking'/><category term='t-sql'/><category term='user rights'/><category term='job'/><category term='script'/><category term='SQL 6.5'/><category term='SQL 2008 R2'/><category term='performance'/><category term='disaster recovery'/><category term='SSIS'/><category term='maintenance plan'/><category term='backup'/><category term='Undocumented'/><category term='recycle'/><category term='lifecycle'/><category term='log shipping'/><category term='cycle'/><category term='login'/><category term='stored procedure'/><category term='windows 2008'/><category term='vmware'/><category term='information'/><category term='best practices'/><category term='Undocumented SP'/><category term='principals'/><category term='how-to'/><category term='errorlog'/><category term='audit'/><category term='memory'/><category term='mirroring'/><category term='default database'/><category term='system tables'/><category term='permissions'/><category term='failover'/><category term='lockout'/><category term='management studio'/><category term='SQL 2000'/><category term='reference'/><category term='log'/><category term='fix'/><category term='full text'/><category term='vardecimal'/><category term='data compression'/><category term='rebuild log'/><category term='error'/><category term='replication'/><title type='text'>SQL server day-to-day tasks</title><subtitle type='html'>Production DBA's  tasks.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-3548569795533820466</id><published>2011-09-18T21:42:00.000+03:00</published><updated>2011-09-18T21:42:49.704+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='log'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>Transaction log usage %</title><content type='html'>To find the transaction log usage of all databases run:&lt;br /&gt;
&lt;br /&gt;
DBCC SQLPERF (Logspace);&lt;br /&gt;
&lt;br /&gt;
GO&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-3548569795533820466?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/3548569795533820466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=3548569795533820466' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3548569795533820466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3548569795533820466'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2011/09/transaction-log-usage.html' title='Transaction log usage %'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8145457079161339828</id><published>2011-08-29T19:38:00.000+03:00</published><updated>2011-08-29T19:38:54.481+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Undocumented'/><title type='text'>DBCC DBINFO</title><content type='html'>Another undocumented command:&lt;br /&gt;
&lt;br /&gt;
USE [DataBase]&lt;br /&gt;
DBCC DBINFO WITH TABLERESULTS&lt;br /&gt;
&lt;br /&gt;
Gets the db information about current database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8145457079161339828?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8145457079161339828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8145457079161339828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8145457079161339828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8145457079161339828'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2011/08/dbcc-dbinfo.html' title='DBCC DBINFO'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-1815621932395285753</id><published>2011-08-18T01:35:00.000+03:00</published><updated>2011-08-18T01:35:32.535+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='replication'/><category scheme='http://www.blogger.com/atom/ns#' term='disaster recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>Script all replication procedures for a publication</title><content type='html'>In order to script replication procedures (sp_msdel_xxxxx, sp_msins_xxxxx &amp;nbsp;,sp_msupd_xxxxx) for all articles in a publication run:&lt;br /&gt;
&lt;br /&gt;
use [publicationdb]&lt;br /&gt;
go&lt;br /&gt;
sp_scriptpublicationcustomprocs [ @publication = ] 'publication_name'&lt;br /&gt;
&lt;br /&gt;
This can be used when stored procs on the subscriber are incorrect, lost, altered (by mistake) or just for reference.&lt;br /&gt;
&lt;br /&gt;
Ref:  &lt;a href="http://msdn.microsoft.com/en-us/library/ms187946.aspx"&gt;msdn&lt;/a&gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-1815621932395285753?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/1815621932395285753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=1815621932395285753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1815621932395285753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1815621932395285753'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2011/08/script-all-replication-procedures-for.html' title='Script all replication procedures for a publication'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-4507223166315820915</id><published>2011-08-18T01:19:00.001+03:00</published><updated>2011-08-18T01:39:37.450+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='replication'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='information'/><title type='text'>How to completely remove replication from a database</title><content type='html'>&lt;span style="font-family: &amp;quot;Arial&amp;quot;, &amp;quot;Helvetica&amp;quot;, sans-serif;"&gt;In order to clear everything related to replication on a database you can run:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Arial&amp;quot;, &amp;quot;Helvetica&amp;quot;, sans-serif;"&gt;sp_removedbreplication [ [ @dbname = ] 'dbname' ]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Arial&amp;quot;, &amp;quot;Helvetica&amp;quot;, sans-serif;"&gt;  Be careful this can severely 'damage' replication. It will clear all replication objects in specified database.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;Ref:&amp;nbsp;&lt;/span&gt;  &lt;a href="http://msdn.microsoft.com/en-us/library/ms188734.aspx"&gt;msdn&lt;/a&gt;  &lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;  &lt;br /&gt;
&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-4507223166315820915?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/4507223166315820915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=4507223166315820915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4507223166315820915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4507223166315820915'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2011/08/how-to-completely-remove-replication.html' title='How to completely remove replication from a database'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-711824187441457537</id><published>2011-06-03T02:26:00.000+03:00</published><updated>2011-06-03T02:26:24.792+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='blocking'/><category scheme='http://www.blogger.com/atom/ns#' term='spid'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>Determine which spid is the head of the blocking chain (find the top blocking SPID and SQL text)</title><content type='html'>Simple script to determine which SPID is the head of the blocking chain (find the top blocking SPID and SQL text)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IF EXISTS&lt;br /&gt;
(SELECT * FROM master.dbo.sysprocesses&lt;br /&gt;
WHERE spid IN (SELECT blocked FROM master.dbo.sysprocesses))&lt;br /&gt;
SELECT &lt;br /&gt;
sp.spid, sp.[status], sp.loginame,&lt;br /&gt;
sp.hostname, sp.[program_name],&lt;br /&gt;
sp.blocked, sp.open_tran,&lt;br /&gt;
dbname=db_name(sp.[dbid]), sp.cmd,&lt;br /&gt;
sp.waittype, sp.waittime, sp.last_batch, st.[text]&lt;br /&gt;
FROM master.dbo.sysprocesses sp&lt;br /&gt;
CROSS APPLY sys.dm_exec_sql_text (sp.[sql_handle]) st&lt;br /&gt;
WHERE spid IN (SELECT blocked FROM master.dbo.sysprocesses)&lt;br /&gt;
AND blocked=0&lt;br /&gt;
ELSE&lt;br /&gt;
SELECT 'No blocking processes found!'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-711824187441457537?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/711824187441457537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=711824187441457537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/711824187441457537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/711824187441457537'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2011/06/determine-which-spid-is-head-of.html' title='Determine which spid is the head of the blocking chain (find the top blocking SPID and SQL text)'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-5102933436757781101</id><published>2011-04-20T01:08:00.001+03:00</published><updated>2011-04-20T01:39:12.396+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Undocumented SP'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='errorlog'/><title type='text'>Read SQL server errorlog</title><content type='html'>Very handy undocumented stored proc to read SQL server logs:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;sp_readerrorlog [logfile number (0-current, 1- previous... )], [1 for errorlog or 2 for agent log], [search word1], [search word 2]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;ex1: to display current errorlog:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;sp_readerrorlog&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;ex2: t&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;o search current errorlog for word 'restore' or 'log'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;sp_readerrorlog 0,1,'restore','log'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;The output can be easily redirected to a table like &lt;a href="http://blogs.msdn.com/b/chrissk/archive/2011/01/05/how-to-archive-your-sql-errorlogs-into-a-table.aspx"&gt;in this article&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-5102933436757781101?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/5102933436757781101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=5102933436757781101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/5102933436757781101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/5102933436757781101'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2011/04/read-sql-server-errorlog.html' title='Read SQL server errorlog'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-2601913222824545905</id><published>2010-11-08T13:29:00.000+02:00</published><updated>2010-11-08T13:29:40.243+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='best practices'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='information'/><title type='text'>Great Free e-book "Dissecting SQL Server Execution Plans"</title><content type='html'>Great Free e-book "Dissecting SQL Server Execution Plans".&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://downloads.red-gate.com/ebooks/HighPerformanceSQL_ebook.zip"&gt;http://downloads.red-gate.com/ebooks/HighPerformanceSQL_ebook.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-2601913222824545905?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://downloads.red-gate.com/ebooks/HighPerformanceSQL_ebook.zip' title='Great Free e-book &quot;Dissecting SQL Server Execution Plans&quot;'/><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/2601913222824545905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=2601913222824545905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2601913222824545905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2601913222824545905'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/11/great-free-e-book-dissecting-sql-server.html' title='Great Free e-book &quot;Dissecting SQL Server Execution Plans&quot;'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-444475820414669010</id><published>2010-10-20T00:50:00.000+03:00</published><updated>2010-10-20T00:50:47.709+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='best practices'/><category scheme='http://www.blogger.com/atom/ns#' term='vardecimal'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><category scheme='http://www.blogger.com/atom/ns#' term='data compression'/><title type='text'>some great articles regarding data compression</title><content type='html'>I would like to share some great articles about data compression:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/dd894051(SQL.100).aspx"&gt;Data Compression: Strategy, Capacity Planning and Best Practices&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/cc280449.aspx"&gt;Creating Compressed Tables and Indexes&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mssqltips.com/tip.asp?tip=1582"&gt;Implementing Data Compression in SQL Server 2008&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mssqltips.com/tip.asp?tip=1614"&gt;Data Compression Using the SQL Server Vardecimal Storage Format&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mssqltips.com/tip.asp?tip=2019"&gt;Unicode Compression in SQL Server 2008 R2&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/cc280574.aspx"&gt;sp_estimate_data_compression_savings&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mssqltips.com/tip.asp?tip=2025"&gt;Impact of Data Compression on Backup Compression with SQL Server 2008&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-444475820414669010?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/444475820414669010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=444475820414669010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/444475820414669010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/444475820414669010'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/10/some-great-articles-regarding-data.html' title='some great articles regarding data compression'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-2656783828917695275</id><published>2010-09-15T14:26:00.000+03:00</published><updated>2010-09-15T14:26:08.934+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='filegroup'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>Moving table to different filegroup</title><content type='html'>Two useful articles describing table move from one filegroup to another:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://decipherinfosys.wordpress.com/2007/08/14/moving-tables-to-a-different-filegroup-in-sql-2005/"&gt;http://decipherinfosys.wordpress.com/2007/08/14/moving-tables-to-a-different-filegroup-in-sql-2005/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mssqltips.com/tip.asp?tip=1112"&gt;http://www.mssqltips.com/tip.asp?tip=1112&amp;nbsp;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-2656783828917695275?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/2656783828917695275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=2656783828917695275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2656783828917695275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2656783828917695275'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/09/moving-table-to-different-filegroup.html' title='Moving table to different filegroup'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-3135203718607412232</id><published>2010-09-07T10:25:00.001+03:00</published><updated>2010-09-07T10:25:49.966+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='lifecycle'/><category scheme='http://www.blogger.com/atom/ns#' term='information'/><title type='text'>Microsoft Support Lifecycle of SQL server</title><content type='html'>Two helpful links to understand the lifecycle of SQL server:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://blogs.msdn.com/b/psssql/archive/2010/02/17/mainstream-vs-extended-support-and-sql-server-2005-sp4-can-someone-explain-all-of-this.aspx"&gt;http://blogs.msdn.com/b/psssql/archive/2010/02/17/mainstream-vs-extended-support-and-sql-server-2005-sp4-can-someone-explain-all-of-this.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://support.microsoft.com/lifecycle/?LN=en-us&amp;amp;p1=2855&amp;amp;x=13&amp;amp;y=14"&gt;http://support.microsoft.com/lifecycle/?LN=en-us&amp;amp;p1=2855&amp;amp;x=13&amp;amp;y=14&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-3135203718607412232?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/3135203718607412232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=3135203718607412232' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3135203718607412232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3135203718607412232'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/09/microsoft-support-lifecycle-sql-server.html' title='Microsoft Support Lifecycle of SQL server'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-7115959645998152160</id><published>2010-08-18T13:13:00.000+03:00</published><updated>2010-08-18T13:13:21.370+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='log'/><category scheme='http://www.blogger.com/atom/ns#' term='cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='management studio'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><title type='text'>Unable to connect to a clustered instance with SSMS</title><content type='html'>I had an issue connecting to a clustered instance using&amp;nbsp;&amp;lt;networkname&amp;gt;\&amp;lt;instancename&amp;gt;.&lt;br /&gt;
SQL instance was working fine according to errorlog.&lt;br /&gt;
The issue was fixed restarting SQL Server Browser.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-7115959645998152160?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/7115959645998152160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=7115959645998152160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7115959645998152160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7115959645998152160'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/08/unable-to-connect-to-clustered-instance.html' title='Unable to connect to a clustered instance with SSMS'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-4463596983475733294</id><published>2010-08-05T10:38:00.000+03:00</published><updated>2010-08-05T10:38:47.768+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='lockout'/><category scheme='http://www.blogger.com/atom/ns#' term='permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='principals'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>Property Owner is not available for Database</title><content type='html'>&lt;b&gt;Error:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: xx-small;"&gt;TITLE: Microsoft SQL Server Management Studio&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: xx-small;"&gt;------------------------------&lt;br /&gt;
Cannot show requested dialog.&lt;br /&gt;
------------------------------&lt;br /&gt;
ADDITIONAL INFORMATION:&lt;br /&gt;
&lt;br /&gt;
Cannot show requested dialog. (SqlMgmt)&lt;br /&gt;
------------------------------&lt;br /&gt;
&lt;br /&gt;
Property Owner is not available for Database '[MyDB]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)&lt;br /&gt;
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;ProdVer=9.00.3042.00&amp;amp;EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&amp;amp;EvtID=Owner&amp;amp;LinkId=20476&lt;br /&gt;
------------------------------&lt;br /&gt;
BUTTONS:&lt;br /&gt;
OK&lt;br /&gt;
------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Cause:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;If database owner does not exist in SQL (removed login) this error appear&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;to check the current owner:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;EXEC sp_helpdb &amp;nbsp;MyDB&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;USE &amp;nbsp;&amp;nbsp;MyDB&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;EXEC sp_changedbowner 'sa'&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-4463596983475733294?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/4463596983475733294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=4463596983475733294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4463596983475733294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4463596983475733294'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/08/property-owner-is-not-available-for.html' title='Property Owner is not available for Database'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-6386720140647742234</id><published>2010-08-02T11:49:00.000+03:00</published><updated>2010-08-02T11:49:33.773+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='best practices'/><category scheme='http://www.blogger.com/atom/ns#' term='migrating'/><category scheme='http://www.blogger.com/atom/ns#' term='log shipping'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>Migrating VLDB with Log Shipping</title><content type='html'>Interesting article on Migrating Very Large Databases with Log Shipping.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mssqltips.com/tip.asp?tip=2073"&gt;http://www.mssqltips.com/tip.asp?tip=2073&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-6386720140647742234?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.mssqltips.com/tip.asp?tip=2073' title='Migrating VLDB with Log Shipping'/><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/6386720140647742234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=6386720140647742234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6386720140647742234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6386720140647742234'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/08/migrating-vldb-with-log-shipping.html' title='Migrating VLDB with Log Shipping'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-6338173844998040328</id><published>2010-07-28T18:30:00.000+03:00</published><updated>2010-07-28T18:30:11.096+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='best practices'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 7'/><category scheme='http://www.blogger.com/atom/ns#' term='memory'/><title type='text'>How to set max server memory</title><content type='html'>Simple method to calculate max server memory:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://blogs.msdn.com/b/boduff/archive/2008/03/31/how-to-set-max-server-memory.aspx"&gt;http://blogs.msdn.com/b/boduff/archive/2008/03/31/how-to-set-max-server-memory.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-6338173844998040328?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/6338173844998040328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=6338173844998040328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6338173844998040328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6338173844998040328'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/07/how-to-set-max-server-memory.html' title='How to set max server memory'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8368079490652005225</id><published>2010-07-26T15:46:00.000+03:00</published><updated>2010-07-26T15:46:26.080+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='log'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='disaster recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>Disaster recovery: backing up the tail of the log</title><content type='html'>Disaster recovery: backing up the tail of the log by Paul Randal&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.sqlskills.com/BLOGS/PAUL/post/Disaster-recovery-101-backing-up-the-tail-of-the-log.aspx"&gt;http://www.sqlskills.com/BLOGS/PAUL/post/Disaster-recovery-101-backing-up-the-tail-of-the-log.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8368079490652005225?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sqlskills.com/BLOGS/PAUL/post/Disaster-recovery-101-backing-up-the-tail-of-the-log.aspx' title='Disaster recovery: backing up the tail of the log'/><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8368079490652005225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8368079490652005225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8368079490652005225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8368079490652005225'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/07/disaster-recovery-backing-up-tail-of.html' title='Disaster recovery: backing up the tail of the log'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-7801356668171366868</id><published>2010-07-23T14:48:00.002+03:00</published><updated>2010-07-23T14:50:13.837+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='maintenance plan'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: VMware ESX and VirtualCenter - High CPU and Memory Usage After Upgrade to VirtualCenter 2.5 and SQL Server</title><content type='html'>There was a performance issue on one of the SQL servers used by VMWare Virtual Center.&lt;br /&gt;
Problem was high cpu utilization, high IO activity, failed jobs and overall performance degradation. &lt;br /&gt;
The solution is described &lt;a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=110&amp;amp;prodSeriesId=420496&amp;amp;prodTypeId=18964&amp;amp;objectID=c01433023"&gt;in this article&lt;/a&gt; and solves the problem completely.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Direct links:&lt;br /&gt;
&lt;a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=110&amp;amp;prodSeriesId=420496&amp;amp;prodTypeId=18964&amp;amp;objectID=c01433023"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=110&amp;amp;prodSeriesId=420496&amp;amp;prodTypeId=18964&amp;amp;objectID=c01433023&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Also described as vmware kb:&lt;br /&gt;
&lt;a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1004078"&gt;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1004078&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-7801356668171366868?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/7801356668171366868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=7801356668171366868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7801356668171366868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7801356668171366868'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/07/fix-vmware-esx-and-virtualcenter-high.html' title='FIX: VMware ESX and VirtualCenter - High CPU and Memory Usage After Upgrade to VirtualCenter 2.5 and SQL Server'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-2432498244662094706</id><published>2010-07-21T12:50:00.000+03:00</published><updated>2010-07-21T12:50:39.774+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user rights'/><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: SQL Server orphaned users</title><content type='html'>To fix orphaned users you need only 3 commands:&lt;br /&gt;
&lt;br /&gt;
To list all orphaned users:&lt;br /&gt;
USE &amp;lt;database&amp;gt;&lt;br /&gt;
EXEC sp_change_users_login 'Report'&lt;br /&gt;
&lt;br /&gt;
То fix/ link login to user:&lt;br /&gt;
USE &amp;lt;database&amp;gt;&lt;br /&gt;
EXEC sp_change_users_login 'Auto_Fix', 'user'&lt;br /&gt;
&lt;br /&gt;
To create new login and link it to a user:&lt;br /&gt;
USE &amp;lt;database&amp;gt;&lt;br /&gt;
EXEC sp_change_users_login 'Auto_Fix', 'user', 'login', 'password'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More info:&lt;br /&gt;
http://support.microsoft.com/kb/274188&lt;br /&gt;
http://www.fileformat.info/tip/microsoft/sql_orphan_user.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-2432498244662094706?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/2432498244662094706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=2432498244662094706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2432498244662094706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2432498244662094706'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/07/fix-sql-server-orphaned-users.html' title='FIX: SQL Server orphaned users'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-458938529182101005</id><published>2010-07-14T10:19:00.001+03:00</published><updated>2010-07-14T10:40:15.539+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='maintenance plan'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='disaster recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='system tables'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>Script to check backup history</title><content type='html'>Check backup history script:&lt;br /&gt;
This script is very helpful when you need to find last backups, physical device, backup size for a database. Currently it is set to retrieve all backups from last 7 days. It can be changed in the where clause.&lt;br /&gt;
&lt;br /&gt;
This script was taken from &lt;a href="http://www.mssqltips.com/tip.asp?tip=1601"&gt;this&lt;/a&gt; article. Link contains other useful scripts for backup history.&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------- &lt;br /&gt;
--Database Backups for all databases For Previous Week &lt;br /&gt;
--http://www.mssqltips.com/tip.asp?tip=1601&lt;br /&gt;
--------------------------------------------------------------------------------- &lt;br /&gt;
SELECT  &lt;br /&gt;
CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server, &lt;br /&gt;
msdb.dbo.backupset.database_name,  &lt;br /&gt;
msdb.dbo.backupset.backup_start_date,  &lt;br /&gt;
msdb.dbo.backupset.backup_finish_date, &lt;br /&gt;
msdb.dbo.backupset.expiration_date, &lt;br /&gt;
CASE msdb..backupset.type  &lt;br /&gt;
WHEN 'D' THEN 'Database'  &lt;br /&gt;
WHEN 'L' THEN 'Log'  &lt;br /&gt;
END AS backup_type,  &lt;br /&gt;
msdb.dbo.backupset.backup_size,  &lt;br /&gt;
msdb.dbo.backupmediafamily.logical_device_name,  &lt;br /&gt;
msdb.dbo.backupmediafamily.physical_device_name,   &lt;br /&gt;
msdb.dbo.backupset.name AS backupset_name, &lt;br /&gt;
msdb.dbo.backupset.description &lt;br /&gt;
FROM   msdb.dbo.backupmediafamily  &lt;br /&gt;
INNER JOIN msdb.dbo.backupset ON msdb.dbo.backupmediafamily.media_set_id = msdb.dbo.backupset.media_set_id  &lt;br /&gt;
WHERE  (CONVERT(datetime, msdb.dbo.backupset.backup_start_date, 102) &amp;gt;= GETDATE() - 7)  &lt;br /&gt;
ORDER BY  &lt;br /&gt;
msdb.dbo.backupset.database_name, &lt;br /&gt;
msdb.dbo.backupset.backup_finish_date&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-458938529182101005?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/458938529182101005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=458938529182101005' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/458938529182101005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/458938529182101005'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/07/backup-history-check-script.html' title='Script to check backup history'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8300155507266091910</id><published>2010-07-02T21:01:00.001+03:00</published><updated>2010-07-02T21:03:37.585+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 6.5'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 7'/><title type='text'>return random rows from a table</title><content type='html'>Hello,&lt;br /&gt;
here is one handy command to generate sample data:&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM table_name TABLESAMPLE SYSTEM (10000 ROWS)&lt;br /&gt;
&lt;br /&gt;
this will return 10 000 randomly chosen rows from the table (table_name)&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM table_name TABLESAMPLE SYSTEM (10 PERCENT)&lt;br /&gt;
&lt;br /&gt;
this will return randomly 10% of the rows in the table&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8300155507266091910?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8300155507266091910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8300155507266091910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8300155507266091910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8300155507266091910'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/07/return-random-rows-from-table.html' title='return random rows from a table'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-3438054275581178368</id><published>2010-07-02T13:53:00.000+03:00</published><updated>2010-07-02T13:53:55.794+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (System.Data)</title><content type='html'>When trying to import data from Excel 2007 file using import wizard in management studio 2008 an error occurred:&lt;br /&gt;
&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: xx-small;"&gt;TITLE: SQL Server Import and Export Wizard&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;------------------------------&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;The operation could not be completed.&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;------------------------------&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;ADDITIONAL INFORMATION:&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (System.Data)&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;------------------------------&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;BUTTONS:&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;OK&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
this was solved installing &amp;nbsp;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&amp;amp;displaylang=en"&gt;"2007 Office System Driver: Data Connectivity Components" which can be found here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-3438054275581178368?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/3438054275581178368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=3438054275581178368' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3438054275581178368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3438054275581178368'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/07/fix-microsoftaceoledb120-provider-is.html' title='FIX: The &apos;Microsoft.ACE.OLEDB.12.0&apos; provider is not registered on the local machine. (System.Data)'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8448182525097984687</id><published>2010-06-22T11:22:00.002+03:00</published><updated>2011-06-03T03:26:07.608+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='log'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='errorlog'/><category scheme='http://www.blogger.com/atom/ns#' term='audit'/><title type='text'>Enable C2 auditing</title><content type='html'>I had a request to enable c2 auditing on a server.&lt;br /&gt;
&lt;a href="http://www.sqlservercentral.com/articles/Monitoring/basicsofc2auditing/1547/"&gt;Here&lt;/a&gt; is described what is c2 auditing and how to be enabled/ disabled.&lt;br /&gt;
&lt;br /&gt;
In nutshell:&lt;br /&gt;
&lt;br /&gt;
USE master&lt;br /&gt;
EXEC sp_configure 'show advanced option', '1'&lt;br /&gt;
RECONFIGURE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To &lt;b&gt;enable&lt;/b&gt; the feature, set 'c2 audit mode' to 1 using the following command:&lt;br /&gt;
sp_configure 'c2 audit mode', 1&lt;br /&gt;
go&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To &lt;b&gt;disable&lt;/b&gt; the feature, set 'c2 audit mode' to 0 using the following command:&lt;br /&gt;
sp_configure 'c2 audit mode', 0&lt;br /&gt;
go&lt;br /&gt;
&lt;br /&gt;
Please note that it will start to create 200 MB files in the default database directory and if there is not enough space SQL Server will be stopped.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8448182525097984687?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8448182525097984687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8448182525097984687' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8448182525097984687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8448182525097984687'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/06/enable-c2-auditing.html' title='Enable C2 auditing'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-7692283355824020266</id><published>2010-06-03T18:19:00.000+03:00</published><updated>2010-06-03T18:19:19.480+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 6.5'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='disaster recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 7'/><title type='text'>SQL Server Trace Flags</title><content type='html'>&lt;a href="http://www.sqlservercentral.com/articles/trace+flags/70131/"&gt;SQL Server Trace Flags can be found here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-7692283355824020266?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sqlservercentral.com/articles/trace+flags/70131/' title='SQL Server Trace Flags'/><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/7692283355824020266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=7692283355824020266' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7692283355824020266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7692283355824020266'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/06/sql-server-trace-flags.html' title='SQL Server Trace Flags'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8909026515517031751</id><published>2010-06-03T14:25:00.006+03:00</published><updated>2010-06-22T11:29:37.303+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='disaster recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 7'/><category scheme='http://www.blogger.com/atom/ns#' term='system tables'/><category scheme='http://www.blogger.com/atom/ns#' term='rebuild log'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>Attach a database without log file(s)</title><content type='html'>&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;This article &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;describes&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt; how to attach a database without log file(s) or recover suspect database with damaged log file(s).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;. In SQL 2000, 2005 and above this can be done via GUI:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 1.1) remove (or rename)&amp;nbsp; original log file and attach the database&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 1.2) accept the creation of new log file ( in SQL 2000) or remove the log file from dialog (in SQL&amp;nbsp; 2005 and above)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 1.3) database is attached and new log file is created.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;. If 1st step is not applicable you can try to attach via next scripts taken from &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blog.sqlauthority.com/2010/04/26/sql-server-attach-mdf-file-without-ldf-file-in-database/"&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 2.1)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt; Method 1:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;USE [master]&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;GO &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;EXEC sp_attach_single_file_db @dbname='TestDb',@physname=N'C:\MSSQL\DATA\TestDb.mdf'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 2.2) &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;Method 2:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;USE [master]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;GO&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;CREATE DATABASE TestDb&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;ON (FILENAME = N'C:\MSSQL\DATA\TestDb.mdf')&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;FOR ATTACH_REBUILD_LOG&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt; GO&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 2.3) &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;Method 3:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;USE [master]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;GO&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;CREATE DATABASE TestDb &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;ON (FILENAME = N'\MSSQL\DATA\TestDb.mdf')&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;FOR ATTACH&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;code&gt;&lt;span style="color: green;"&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;However these scripts doesn't work in case of multiple log files (tested on SQL 2000).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;) In case of multiple log files or for some reason above procedures are not helping use next procedure (used to recover from broken ldf or attach without ldf file) taken from &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=76613"&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;a post here&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.1) detach suspected database (if it is attached) and rename the .mdf to something like .mdf_old and .ldf to .ldf_old&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.2) create a new database of the same name and log file and location as the old database and log file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.3) stop sql&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.4) rename the new database.mdf or delete it if you don't have enough space - do not touch the .ldf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.5) move back in the old database.mdf file or rename it back again&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.6) start sql &amp;nbsp;our database should be suspect&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.7) from a query window execute:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;use Master&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;go&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;sp_configure "allow", 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;go&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;reconfigure with override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;go&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.8) Then set the status of the DB that is giving you the problem (XXXXX) into Emergency Mode by running the following query:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;update sysdatabases set status = 32768 where name = 'DBName'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;go&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;checkpoint&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;go&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;shutdown with nowait&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;go&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.9) Go into the data directory (MSSQL\DATA) and rename the log file associated the DB in question (XXXX.ldf) to some temporary name, such as XXXX.TMP.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.10) Exit the query window.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.11) Then start up SQL Server from a DOS command window by: &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;sqlservr -c -T3608 -T4022&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;note if it is a named instance you should use -s instancename&amp;nbsp; switch&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.12) Bring up another query window and verify that the DB is in emergency mode by:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;select Name, Status from Sysdatabases where name = 'DB_Name'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.13)&amp;nbsp;Verify that the status is 32768. If it is, then issue the query:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;dbcc traceon(3604)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;dbcc rebuild_log ('DB_Name','log_filename') &amp;lt;--- You will need the quotation marks&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;REBUILD_LOG should take less than 5 minutes even on a very large &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;database. It should complete with the message&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;DBCC execution completed&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.14) Take the database out of bypass recovery mode by:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;update sysdatabases set status = 0 where name = 'DBName'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; 3.15) Exit the query window and then shutdown (Ctrl-C in the DOS window) and restart SQL server. Verify the status of the database by running:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;DBCC NEWALLOC&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;DBCC CHECKDB&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times&amp;quot;, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;span style="font-size: small;"&gt;This procedure was tested on SQL 2000 and works perfect.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8909026515517031751?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8909026515517031751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8909026515517031751' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8909026515517031751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8909026515517031751'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/06/attach-database-without-log-files.html' title='Attach a database without log file(s)'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-4301529278876484474</id><published>2010-05-19T18:39:00.002+03:00</published><updated>2010-07-23T15:09:13.340+03:00</updated><title type='text'>24 hours of PASS started!!!</title><content type='html'>http://www.sqlpass.org/24hours/2010/Sessions.aspx#DBA&lt;br /&gt;
&lt;br /&gt;
Here is the link to recordings of all sessions:&lt;br /&gt;
&lt;a href="http://www.sqlpass.org/LearningCenter/24Hours.aspx"&gt;http://www.sqlpass.org/LearningCenter/24Hours.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-4301529278876484474?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sqlpass.org/24hours/2010/Sessions.aspx' title='24 hours of PASS started!!!'/><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/4301529278876484474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=4301529278876484474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4301529278876484474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4301529278876484474'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/05/24-hours-of-pass-started.html' title='24 hours of PASS started!!!'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-2377554044866647241</id><published>2010-04-29T14:21:00.002+03:00</published><updated>2010-04-29T14:28:33.012+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='disaster recovery'/><title type='text'>Disaster Recovery SQL 2000 step by step</title><content type='html'>Today I had to bring online damaged (hardware malfunction) SQL 2000.&lt;br /&gt;
&lt;br /&gt;
We have only database bak and trn files on tape.&lt;br /&gt;
&lt;br /&gt;
Here are the steps used (default instance):&lt;br /&gt;
&lt;br /&gt;
1) Install OS windows 2000&lt;br /&gt;
2) Install all OS patches, SP etc..&lt;br /&gt;
3) Install SQL 2000&lt;br /&gt;
4) Install all SQL SP, hot fixes and patches as before the disaster&lt;br /&gt;
5) Restore Master Database:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; First you need to start SQL in single user mode to do this&lt;br /&gt;
&lt;br /&gt;
5.1) Stop MSSQL&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;net stop MSSQLServer&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
5.2) And start it with -'m' &amp;nbsp; note that if path is not set you should do this from C:\Program Files\Microsoft SQL Server\MSSQL\BINN&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;sqlservr -m&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
5.3) Start osql and restore database&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;osql -E&lt;/i&gt;&lt;br /&gt;
1&amp;gt; restore database master from disk ='c:\temp\MasterBackup.bak'&lt;br /&gt;
2&amp;gt; go&lt;br /&gt;
&lt;br /&gt;
5.4) After restore is complete SQL is stopped and you need to start it&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;net start MSSQLServer&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
6) Connect with Enterprise Manager and restore msdb and model (as a normal databases).&lt;br /&gt;
7) Restart SQL.&lt;br /&gt;
8) All user databases are now suspect (files are missing)&lt;br /&gt;
9) bak and trn files were restored from tape to original location (where maintenance plan was configured to store them)&lt;br /&gt;
10) There were more than 10 trn log files ( backup schedule: (1 full + 24 trn log backups) /day) to be restored it was easier to use Enterprise manager (we have msdb restored) to restore last full backup of each database + all transaction log backups.&lt;br /&gt;
&lt;br /&gt;
Done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-2377554044866647241?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/2377554044866647241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=2377554044866647241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2377554044866647241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2377554044866647241'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/disaster-recovery-sql-2000-step-by-step.html' title='Disaster Recovery SQL 2000 step by step'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-3696321597860175884</id><published>2010-04-15T16:50:00.000+03:00</published><updated>2010-04-15T16:50:54.046+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user rights'/><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 6.5'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='principals'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 7'/><title type='text'>How to transfer logins and passwords between instances of SQL Server</title><content type='html'>Article "How to transfer logins and passwords between instances of SQL Server" can be found:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/246133"&gt;http://support.microsoft.com/kb/246133&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-3696321597860175884?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/3696321597860175884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=3696321597860175884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3696321597860175884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3696321597860175884'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/how-to-transfer-logins-and-passwords.html' title='How to transfer logins and passwords between instances of SQL Server'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-841358724637355754</id><published>2010-04-14T17:34:00.001+03:00</published><updated>2010-04-14T17:36:30.621+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 6.5'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='information'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 7'/><title type='text'>SQL Server versions database</title><content type='html'>This is very helpful site containing SQL versions.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/Default.aspx"&gt;http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/Default.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-841358724637355754?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/Default.aspx' title='SQL Server versions database'/><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/841358724637355754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=841358724637355754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/841358724637355754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/841358724637355754'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/sql-server-versions-database.html' title='SQL Server versions database'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-4120810221053337292</id><published>2010-04-13T14:55:00.001+03:00</published><updated>2010-04-13T14:56:32.750+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maintenance plan'/><category scheme='http://www.blogger.com/atom/ns#' term='management studio'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: SQL server management studio "no description found"</title><content type='html'>An error occurred when saving a maintenance plan in management studio:&lt;br /&gt;
&lt;br /&gt;
"no description found"&lt;br /&gt;
&lt;br /&gt;
A quick fix found &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/4523b3b9-b180-4b8a-a1e7-592de73402d5"&gt;here&lt;/a&gt; was very helpful.&lt;br /&gt;
Just run in command prompt:&lt;br /&gt;
&lt;br /&gt;
Regsvr32 msxml3.dll&lt;br /&gt;
Regsvr32 msxml6.dll&lt;br /&gt;
&lt;br /&gt;
And restart management studio...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-4120810221053337292?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/4120810221053337292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=4120810221053337292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4120810221053337292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4120810221053337292'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/fix-sql-server-management-studio-no.html' title='FIX: SQL server management studio &quot;no description found&quot;'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-7203318390555806235</id><published>2010-04-12T11:45:00.000+03:00</published><updated>2010-04-12T11:45:50.522+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='maintenance plan'/><category scheme='http://www.blogger.com/atom/ns#' term='management studio'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: When creating new maintenance plan an error occurred: Could not load file or assembly 'DdsShapesLib'</title><content type='html'>An error occurred when creating new maintenance plan:&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Could not load file or assembly 'DdsShapesLib, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. (Microsoft.DataTransformationServices.Design)&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Fix in nutshell:&lt;br /&gt;
First you need to find where &amp;nbsp;DdsShapesLib.dll is.&lt;br /&gt;
C:\&amp;gt;dir gacutil.exe /s&lt;br /&gt;
&lt;br /&gt;
Go to that directory&lt;br /&gt;
&lt;br /&gt;
Then start following command:&lt;br /&gt;
C:\xxx\xxx\&amp;gt;gacutil.exe /i DdsShapesLib.dll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;&lt;span style="font-size: x-small;"&gt;(it is possible gacutil.exe is not in the PATH and cannot be started you can add it or to start the toll with whole path c:\windows\xxx\xxx\gacutil.exe):&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And you will get the following output:&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Microsoft (R) .NET Global Assembly Cache Utility.  Version 1.1.4322.573&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;em&gt;Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;em&gt;Assembly successfully added to the cache&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;em&gt; &lt;/em&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;Restart management studio and now you are able to create maintenance plans.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Detailed explanation and fix can be found:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/aa337405(SQL.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa337405(SQL.90).aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-7203318390555806235?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/7203318390555806235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=7203318390555806235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7203318390555806235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/7203318390555806235'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/fix-when-creating-new-maintenance-plan.html' title='FIX: When creating new maintenance plan an error occurred: Could not load file or assembly &apos;DdsShapesLib&apos;'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-464767003104590344</id><published>2010-04-12T10:24:00.002+03:00</published><updated>2010-04-12T11:46:46.359+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='maintenance plan'/><category scheme='http://www.blogger.com/atom/ns#' term='job'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: Drop failed for Job 'xxxxxxxx'.  (Microsoft.SqlServer.Smo)</title><content type='html'>Today I had issue deleting an old job related to a missing maintenance plan.&lt;br /&gt;
&lt;br /&gt;
The solution was found in &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/4a973abc-6675-4b5d-8c47-967ffc3679ea"&gt;this post&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-464767003104590344?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/464767003104590344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=464767003104590344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/464767003104590344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/464767003104590344'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/fix-drop-failed-for-job-xxxxxxxx.html' title='FIX: Drop failed for Job &apos;xxxxxxxx&apos;.  (Microsoft.SqlServer.Smo)'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-760775061893015055</id><published>2010-04-09T14:36:00.002+03:00</published><updated>2010-04-09T14:40:25.973+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mirroring'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>Database Mirroring for Non Domain MS SQL Servers</title><content type='html'>A very helpful post on this topic:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://danmacs.blogspot.com/2009/05/database-mirroring-for-non-domain-ms.html"&gt;http://danmacs.blogspot.com/2009/05/database-mirroring-for-non-domain-ms.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-760775061893015055?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/760775061893015055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=760775061893015055' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/760775061893015055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/760775061893015055'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/database-mirroring-for-non-domain-ms.html' title='Database Mirroring for Non Domain MS SQL Servers'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-1775085474972882950</id><published>2010-04-01T00:00:00.000+03:00</published><updated>2010-04-01T00:00:01.455+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='reference'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='system tables'/><title type='text'>System tables reference</title><content type='html'>Very handy system tables reference:&lt;br /&gt;
&lt;br /&gt;
System Tables (Transact-SQL) reference.&lt;br /&gt;
&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/ms179932(v=SQL.100).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms179932(v=SQL.100).aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-1775085474972882950?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/1775085474972882950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=1775085474972882950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1775085474972882950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1775085474972882950'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/04/system-tables-reference.html' title='System tables reference'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-6483902985687127273</id><published>2010-03-10T13:22:00.003+02:00</published><updated>2010-03-10T13:27:40.488+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='log shipping'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: Log shipping failed due to broken/ damaged tansaction log backup.</title><content type='html'>Log shipping has failed due to incomplete/ damaged transaction log backup.&lt;br /&gt;
This issue occurred also when there is lack of free space on drive where backups are placed???(no logical explanation).&lt;br /&gt;
&lt;br /&gt;
For some reason transaction log backup was saved with errors (damaged) and then transfered to the destination server.  &lt;br /&gt;
Result is - log shipping has failed.&lt;br /&gt;
&lt;br /&gt;
I've prepared a 6 step guide how to repair log shipping:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol style="direction: ltr; margin-bottom: 0in; margin-left: .5in; margin-top: 0in; unicode-bidi: embed;" type="1"&gt;&lt;li style="font-family: Verdana; font-size: 10.0pt; margin-bottom: 0; margin-top: 0; mso-outline-level: 1; vertical-align: middle;" value="1"&gt;Create Full Backup      of source database (mine was placed '\\sharedstorage\XYZ\XYZ_backup.bak')&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 10.0pt; margin-bottom: 0; margin-top: 0; mso-outline-level: 1; vertical-align: middle;" value="2"&gt;Disable      Restore and copy jobs on destination server.&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 10.0pt; margin-bottom: 0; margin-top: 0; mso-outline-level: 1; vertical-align: middle;" value="3"&gt;Restore      database with:&lt;/li&gt;
&lt;/ol&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;restore database XYZ from disk ='\\sharedstorage\XYZ\XYZ_backup.bak'&lt;br /&gt;
with replace, norecovery;&lt;/div&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol style="direction: ltr; margin-bottom: 0in; margin-left: .5in; margin-top: 0in; unicode-bidi: embed;" type="1"&gt;&lt;li style="font-family: Verdana; font-size: 10.0pt; margin-bottom: 0; margin-top: 0; mso-outline-level: 1; vertical-align: middle;" value="4"&gt;If destination      database should be in standby mode go to step 5; else go to step 6&lt;/li&gt;
&lt;/ol&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol style="direction: ltr; margin-bottom: 0in; margin-left: .5in; margin-top: 0in; unicode-bidi: embed;" type="1"&gt;&lt;li style="font-family: Verdana; font-size: 10.0pt; margin-bottom: 0; margin-top: 0; mso-outline-level: 1; vertical-align: middle;" value="5"&gt;Restore next      transaction log backup and set database to standby (transaction log      backups are working on source):&lt;/li&gt;
&lt;/ol&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;restore log XYZ from disk ='\\sharedstorage\XYZ\XYZ_.trn'&lt;br /&gt;
with standby= 'F:\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\UNDO_standby_file.BAK'&lt;/div&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;*note if full backup takes too long or is old and we are trying to restore transaction log backup which is not the correct one error will be generated. If backup is older error will be transaction log xxxx is to early. And if backup is newer the error will be transaction log is too recent.&lt;/div&gt;&lt;div style="font-family: Verdana; font-size: 10.0pt; margin: 0in; mso-outline-level: 1;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol style="direction: ltr; margin-bottom: 0in; margin-left: .5in; margin-top: 0in; unicode-bidi: embed;" type="1"&gt;&lt;li style="font-family: Verdana; font-size: 10.0pt; margin-bottom: 0; margin-top: 0; mso-outline-level: 1; vertical-align: middle;" value="6"&gt;Enable Restore      and copy jobs on destination server.&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 10.0pt; margin-bottom: 0; margin-top: 0; mso-outline-level: 1; vertical-align: middle;" value="7"&gt;Done.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Aditional links:&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms188625.aspx"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms175106.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms175106.aspx&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms188625.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms188625.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-6483902985687127273?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/6483902985687127273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=6483902985687127273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6483902985687127273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6483902985687127273'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/03/fix-log-shipping-failure-due-to-broken.html' title='FIX: Log shipping failed due to broken/ damaged tansaction log backup.'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-204074167319369873</id><published>2010-03-09T14:30:00.002+02:00</published><updated>2010-04-01T00:02:16.642+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user rights'/><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='lockout'/><category scheme='http://www.blogger.com/atom/ns#' term='permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='disaster recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: Disaster Recovery: What to do when the SA account password is lost and no admin account present in SQL Server 2005</title><content type='html'>Another very helpful post when you are locked out and you do not have administrative access to SQL: &lt;br /&gt;
&lt;a href="http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx"&gt;http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-204074167319369873?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/204074167319369873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=204074167319369873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/204074167319369873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/204074167319369873'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/03/fix-disaster-recovery-what-to-do-when.html' title='FIX: Disaster Recovery: What to do when the SA account password is lost and no admin account present in SQL Server 2005'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-3910096667779507462</id><published>2010-03-09T14:17:00.000+02:00</published><updated>2010-03-09T14:17:40.498+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user rights'/><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><title type='text'>Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><content type='html'>Very helpful article on this topic &lt;a href="http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-3910096667779507462?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/3910096667779507462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=3910096667779507462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3910096667779507462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3910096667779507462'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/03/understanding-login-failed-error-18456.html' title='Understanding &quot;login failed&quot; (Error 18456) error messages in SQL Server 2005'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-1567591151025092148</id><published>2010-03-02T11:29:00.000+02:00</published><updated>2010-03-02T11:29:02.861+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: After installing SSIS an erorr is generated Microsoft.SqlServer.DTSRuntimeWrap when creating a maintenance task</title><content type='html'>On 64 bit Server 2003 with Sql 2005 64-bit after installing SSIS an erorr is generated 0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap) when creating a maintenance task.&lt;br /&gt;
&lt;br /&gt;
Fix:&lt;br /&gt;
&lt;br /&gt;
%windir%\syswow64\regsvr32 "%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll"&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
regsvr32 "\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\DTS.dll"&lt;br /&gt;
&lt;br /&gt;
The solution was found in MSDN's forums &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/049139d1-8721-486a-9017-e7d56f0c808f"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-1567591151025092148?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/1567591151025092148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=1567591151025092148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1567591151025092148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1567591151025092148'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/03/fix-after-installing-ssis-erorr-is.html' title='FIX: After installing SSIS an erorr is generated Microsoft.SqlServer.DTSRuntimeWrap when creating a maintenance task'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-1434051634828188250</id><published>2010-02-25T18:39:00.001+02:00</published><updated>2010-02-25T18:45:26.715+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='failover'/><category scheme='http://www.blogger.com/atom/ns#' term='cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: SQL server 2008 failover cluster 'RequireKerberos' error</title><content type='html'>Today I had troubles installing SQL 2008 fail over cluster on Windows 2008.&lt;br /&gt;
&lt;br /&gt;
Installation failed with error:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;"The following error has occurred: There was an error setting private property 'RequireKerberos' to value '1' for resource '%1'. Error: Value does not fall within the expected range."&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;nbsp;&lt;/i&gt;The fix for this was found in that post:&lt;br /&gt;
&lt;a href="http://www.sqlservercentral.com/Forums/Topic723728-391-1.aspx?Update=1"&gt;http://www.sqlservercentral.com/Forums/Topic723728-391-1.aspx?Update=1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Using slipstream method:&lt;br /&gt;
&lt;a href="http://blogs.msdn.com/petersad/archive/2009/03/02/sql-server-2008-basic-slipstream-steps.aspx"&gt;http://blogs.msdn.com/petersad/archive/2009/03/02/sql-server-2008-basic-slipstream-steps.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Before that I had to remove half installed instance steps are described here:&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms191545.aspx#Remove"&gt;http://msdn.microsoft.com/en-us/library/ms191545.aspx#Remove&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Steps in brief:&lt;br /&gt;
&lt;br /&gt;
Download SQL 2008 SP1 from &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&amp;amp;displaylang=en"&gt;here&lt;/a&gt; and extract it (it was used C:\SP1)&lt;br /&gt;
SQLServer2008SP1-KB968369-x64-ENU.exe /x:C:\SP1&lt;br /&gt;
go to C:\SP1&lt;br /&gt;
dir sqlsupp* /s and start the .msi&amp;nbsp;and install the support file for slipstream of SQL 2008&lt;br /&gt;
then start the installation from the SQL 2008 source media:&lt;br /&gt;
SETUP.EXE /PCUSource=C:\SP1&lt;br /&gt;
&lt;br /&gt;
These steps fixed the issue and cluster was installed successfully.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-1434051634828188250?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/1434051634828188250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=1434051634828188250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1434051634828188250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1434051634828188250'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/02/fix-sql-server-2008-failover-cluster.html' title='FIX: SQL server 2008 failover cluster &apos;RequireKerberos&apos; error'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8624656526783411228</id><published>2010-02-22T11:16:00.000+02:00</published><updated>2010-02-22T11:16:14.617+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='information'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Truly Level 400 Performance Monitoring and Tuning</title><content type='html'>Very helpful web cast.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://sqlworkshops.com/"&gt;http://sqlworkshops.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8624656526783411228?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sqlworkshops.com/' title='Truly Level 400 Performance Monitoring and Tuning'/><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8624656526783411228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8624656526783411228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8624656526783411228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8624656526783411228'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/02/truly-level-400-performance-monitoring.html' title='Truly Level 400 Performance Monitoring and Tuning'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-1977051819331675813</id><published>2010-01-25T16:12:00.001+02:00</published><updated>2010-01-25T16:13:29.720+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user rights'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>Property Owner is not available for Database '[DBName]'.</title><content type='html'>When trying to see the properties of a database an error is raised:&lt;br /&gt;
Property Owner is not available for Database '[DBName]'.&lt;br /&gt;
&lt;br /&gt;
Cause:&lt;br /&gt;
This error appears because the owner of the database is no longer available (deleted/ removed).&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
Change the owner of the database.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
USE DBName&lt;br /&gt;
EXEC sp_changedbowner 'sa'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: &lt;a href="http://www.sqlcoffee.com/Troubleshooting011.htm"&gt;http://www.sqlcoffee.com/Troubleshooting011.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-1977051819331675813?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/1977051819331675813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=1977051819331675813' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1977051819331675813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1977051819331675813'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/01/property-owner-is-not-available-for.html' title='Property Owner is not available for Database &apos;[DBName]&apos;.'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-2754233259070071826</id><published>2010-01-22T12:47:00.001+02:00</published><updated>2010-01-22T12:52:25.746+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='full text'/><category scheme='http://www.blogger.com/atom/ns#' term='cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: SQL Server 2005 Full Text Search services on Windows 2008 cluster failed to Start Up</title><content type='html'>Problem: &lt;br /&gt;
On newly installed SQL 2005 Cluster Full text search resource failed to start.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
In nutshell- Install SQL 2005 SP2&lt;br /&gt;
&lt;br /&gt;
Detailed information can be found in Microsoft's article Problem #3:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/936302"&gt;http://support.microsoft.com/kb/936302&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If SP2 doesn't fix the issue check the link below:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://sqllearnings.blogspot.com/2009/05/sql-server-2005-full-text-search.html"&gt;http://sqllearnings.blogspot.com/2009/05/sql-server-2005-full-text-search.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-2754233259070071826?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/2754233259070071826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=2754233259070071826' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2754233259070071826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2754233259070071826'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/01/fix-sql-server-2005-full-text-search.html' title='FIX: SQL Server 2005 Full Text Search services on Windows 2008 cluster failed to Start Up'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-6694525897737914045</id><published>2010-01-20T10:55:00.003+02:00</published><updated>2010-01-20T14:56:37.453+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='best practices'/><category scheme='http://www.blogger.com/atom/ns#' term='disk'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Disk Partition Alignment Best Practices for SQL Server</title><content type='html'>Here is one very helpful article for Disk Partition Alignment:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/dd758814.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd758814.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In brief:&lt;br /&gt;
&lt;br /&gt;
Diskpart&lt;br /&gt;
list disk&lt;br /&gt;
select disk &amp;lt;disknumber&amp;gt&lt;br /&gt;
create partition primary align= &amp;lt;offset_in_kb&amp;gt&lt;br /&gt;
assign letter=&amp;lt;driveletter&amp;gt&lt;br /&gt;
format fs=ntfs unit=64K label="&amp;lt;label&amp;gt" nowait&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;lt;offset_in_kb&amp;gt should be 1024&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-6694525897737914045?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/6694525897737914045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=6694525897737914045' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6694525897737914045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6694525897737914045'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/01/disk-partition-alignment-best-practices.html' title='Disk Partition Alignment Best Practices for SQL Server'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8851468100674733930</id><published>2010-01-14T10:56:00.003+02:00</published><updated>2010-01-14T10:58:41.300+02:00</updated><title type='text'>Unable to install SQL 2005 of CPU cores is not a power of 2</title><content type='html'>On a computer that has a multicore processor, if the ratio of logical processors to physical sockets is not a power of 2, you cannot install SQL Server 2005&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/954835/en-us"&gt;http://support.microsoft.com/kb/954835/en-us&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8851468100674733930?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8851468100674733930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8851468100674733930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8851468100674733930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8851468100674733930'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/01/unable-to-install-sql-2005-of-cpu-cores.html' title='Unable to install SQL 2005 of CPU cores is not a power of 2'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-2123944753707630845</id><published>2010-01-12T17:58:00.001+02:00</published><updated>2010-01-22T12:47:37.750+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>Fix error (1807):  Could not obtain exclusive lock on database 'MODEL'</title><content type='html'>Occurrence:&lt;br /&gt;
When creating a database an error is raised:&lt;br /&gt;
&lt;br /&gt;
Server: Msg 1807, Level 16, State 2, Line 1&lt;br /&gt;
Could not obtain exclusive lock on database 'MODEL'. Retry the operation later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a quick fix for this: &lt;br /&gt;
Kill all connections to database 'Model'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-2123944753707630845?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/2123944753707630845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=2123944753707630845' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2123944753707630845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2123944753707630845'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/01/fix-error-1807-could-not-obtain.html' title='Fix error (1807):  Could not obtain exclusive lock on database &apos;MODEL&apos;'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-5052426176278901967</id><published>2010-01-11T15:57:00.000+02:00</published><updated>2010-01-11T15:57:05.681+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='information'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><title type='text'>A handy stored procedure returning general information for SQL server</title><content type='html'>This SP returns general information for SQL server.&lt;br /&gt;
&lt;br /&gt;
EXEC xp_msver&lt;br /&gt;
&lt;br /&gt;
Similar output can be produced by this script:&lt;br /&gt;
&lt;br /&gt;
SELECT &lt;br /&gt;
  SERVERPROPERTY ('ServerName') AS ServerName,&lt;br /&gt;
  SERVERPROPERTY ('Edition') AS Edition,&lt;br /&gt;
  SERVERPROPERTY ('EngineEdition') AS EngineEdition, &lt;br /&gt;
  SERVERPROPERTY ('ProductLevel') AS ProductLevel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-5052426176278901967?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/5052426176278901967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=5052426176278901967' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/5052426176278901967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/5052426176278901967'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/01/handy-stored-procedure-returning.html' title='A handy stored procedure returning general information for SQL server'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-1687636781050571588</id><published>2010-01-11T10:31:00.003+02:00</published><updated>2010-03-02T11:30:25.431+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>FIX: [LOG] Unable to read local eventlog (reason: The parameter is incorrect)</title><content type='html'>How to fix on SQL 2005 SP1:&lt;br /&gt;
"[LOG] Unable to read local eventlog (reason: The parameter is incorrect)."&lt;br /&gt;
&lt;br /&gt;
There are many posts regarding this issue. &lt;br /&gt;
However installing SP3 is the key.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-1687636781050571588?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/1687636781050571588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=1687636781050571588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1687636781050571588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1687636781050571588'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2010/01/fix-log-unable-to-read-local-eventlog.html' title='FIX: [LOG] Unable to read local eventlog (reason: The parameter is incorrect)'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-3300744315946950825</id><published>2009-12-07T16:23:00.001+02:00</published><updated>2009-12-07T16:26:05.155+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><title type='text'>Problems running sp_helpdb in SQL Server</title><content type='html'>There is a complete how-to fix this:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mssqltips.com/tip.asp?tip=1217"&gt;http://www.mssqltips.com/tip.asp?tip=1217&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-3300744315946950825?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/3300744315946950825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=3300744315946950825' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3300744315946950825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/3300744315946950825'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/12/problems-running-sphelpdb-in-sql-server.html' title='Problems running sp_helpdb in SQL Server'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-9117740802794980659</id><published>2009-12-07T16:21:00.000+02:00</published><updated>2009-12-07T16:21:30.292+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><title type='text'>negative unallocated space using sp_spaceused</title><content type='html'>negative unallocated space using sp_spaceused can be fixed with:&lt;br /&gt;
&lt;br /&gt;
EXEC SP_SPACEUSED @UPDATEUSAGE='TRUE'&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
DBCC UPDATEUSAGE ('Database')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-9117740802794980659?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/9117740802794980659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=9117740802794980659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/9117740802794980659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/9117740802794980659'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/12/negative-unallocated-space-using.html' title='negative unallocated space using sp_spaceused'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-4340455439881788666</id><published>2009-11-30T13:05:00.002+02:00</published><updated>2009-11-30T13:07:42.851+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='job'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>MDX error when deleting SQL job</title><content type='html'>MDX error is raised when trying to delete a job. This is because originating_server is not the name of current server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This can be fixed with:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
UPDATE msdb.dbo.sysjobs SET originating_server = 'current_server' WHERE&lt;br /&gt;
originating_server &lt;&gt; 'current_server'&lt;br /&gt;
&lt;br /&gt;
This will modify SYSTEM Database MSDB and it is highly recommended to create a backup before executing the script.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-4340455439881788666?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/4340455439881788666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=4340455439881788666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4340455439881788666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/4340455439881788666'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/11/mdx-error-when-deleting-sql-job.html' title='MDX error when deleting SQL job'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-5321511262435216133</id><published>2009-11-24T11:06:00.002+02:00</published><updated>2009-11-24T11:12:42.953+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>sp_helptext</title><content type='html'>A handy stored procedure which:&lt;br /&gt;
"Prints the text of a rule, a default, or an unencrypted stored procedure, user-defined function, trigger, or view."&lt;br /&gt;
It is creating a create script.&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
USE master;&lt;br /&gt;
EXEC sp_helptext 'syslogins'; &lt;br /&gt;
--returns create view statement for syslogins.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE master;&lt;br /&gt;
EXEC sp_helptext 'sp_MSforeachtable'; &lt;br /&gt;
--returns create proc statement for sp_MSforeachtable&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-5321511262435216133?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/5321511262435216133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=5321511262435216133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/5321511262435216133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/5321511262435216133'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/11/sphelptext.html' title='sp_helptext'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-1046153692927069577</id><published>2009-11-19T12:14:00.006+02:00</published><updated>2010-10-26T01:14:15.950+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user rights'/><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='principals'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>User permissions in a database/instance</title><content type='html'>Four stored procedures and one view to check user rights/ permissions over database/ instance:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sp_helpuser&lt;br /&gt;
&lt;i&gt;Reports information about database-level principals in the current database.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sp_helprolemember&lt;br /&gt;
&lt;i&gt;Returns information about the members of a role in the current database.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span lang="BG" style="font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;sp_helpsrvrolemember&lt;/span&gt;&lt;br /&gt;
&lt;span lang="BG" style="font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt; &lt;/span&gt;&lt;i&gt;Returns information about the members of a SQL Server fixed server role.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
select * from sys.database_principals&lt;br /&gt;
&lt;i&gt;Returns a row for each principal in a database.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sp_helprotect&lt;br /&gt;
&lt;i&gt;Returns a report that has information about user permissions for an object, or statement permissions, in the current database&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
A great article related to this topic&lt;i&gt;:&lt;/i&gt;&lt;i&gt;&lt;a href="http://www.mssqltips.com/tip.asp?tip=2132"&gt;here&lt;/a&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-1046153692927069577?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/1046153692927069577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=1046153692927069577' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1046153692927069577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/1046153692927069577'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/11/user-permissions-in-database.html' title='User permissions in a database/instance'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-2623798508985224279</id><published>2009-11-13T15:26:00.002+02:00</published><updated>2010-10-20T00:54:11.655+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lockout'/><category scheme='http://www.blogger.com/atom/ns#' term='default database'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>when you lockout your account setting your default database offline, single user or detach it</title><content type='html'>when you lockout your account setting your default database offline , single user mode or detach it&lt;br /&gt;
&lt;br /&gt;
You can connect to other database using sqlcmd:&lt;br /&gt;
&lt;br /&gt;
sqlcmd -E -d master &lt;br /&gt;
&lt;br /&gt;
and then to on- line or set multi user the default database&lt;br /&gt;
&lt;br /&gt;
alter database [dbname] set online&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
alter database [dbname] set multi_user&lt;br /&gt;
&lt;br /&gt;
A great article about this issue can be found &lt;a href="http://www.mssqltips.com/tipprint.asp?tip=2131"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-2623798508985224279?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/2623798508985224279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=2623798508985224279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2623798508985224279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/2623798508985224279'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/11/when-you-lockout-your-default-database.html' title='when you lockout your account setting your default database offline, single user or detach it'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-6816415729458082518</id><published>2009-11-13T15:02:00.002+02:00</published><updated>2010-01-29T15:22:59.269+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><category scheme='http://www.blogger.com/atom/ns#' term='recycle'/><category scheme='http://www.blogger.com/atom/ns#' term='errorlog'/><category scheme='http://www.blogger.com/atom/ns#' term='cycle'/><title type='text'>Re cycle MSSQL errorlog</title><content type='html'>Two ways to cycle an errorlog:&lt;br /&gt;
&lt;br /&gt;
DBCC errorlog&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
EXEC sp_cycle_errorlog;&lt;br /&gt;
&lt;br /&gt;
There is also a stored procedure for SQL agent errorlog:&lt;br /&gt;
&lt;br /&gt;
EXEC dbo.sp_cycle_agent_errorlog&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-6816415729458082518?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/6816415729458082518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=6816415729458082518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6816415729458082518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6816415729458082518'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/11/re-cycle-mssql-errorlog.html' title='Re cycle MSSQL errorlog'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-8549862954906940857</id><published>2009-10-26T01:09:00.002+02:00</published><updated>2010-08-18T13:14:25.943+03:00</updated><title type='text'>PWD in MS SQL</title><content type='html'>Just a select that shows which database is currently used (as pwd for FS) :&lt;br /&gt;
&lt;br /&gt;
select db_name();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-8549862954906940857?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/8549862954906940857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=8549862954906940857' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8549862954906940857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/8549862954906940857'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2009/10/pwd-in-ms-sql.html' title='PWD in MS SQL'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8179947273831961493.post-6394630674055435997</id><published>2008-01-08T00:26:00.000+02:00</published><updated>2008-01-08T00:27:29.039+02:00</updated><title type='text'>first post</title><content type='html'>Hello,
this is my first post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8179947273831961493-6394630674055435997?l=trilist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trilist.blogspot.com/feeds/6394630674055435997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8179947273831961493&amp;postID=6394630674055435997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6394630674055435997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8179947273831961493/posts/default/6394630674055435997'/><link rel='alternate' type='text/html' href='http://trilist.blogspot.com/2008/01/first-post.html' title='first post'/><author><name>trilist</name><uri>http://www.blogger.com/profile/17359346997999035466</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
