<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SQLAzureKKB</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sqlazurekkb/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:28:43 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>How to downgrade a SQL Server from 2008 R2 to SQL Server 2005?</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/how-to-downgrade-a-sql-server-from-2008-r2-to-sql-server-2005</link>
      <pubDate>Wed, 04 Nov 2015 19:14:45 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/11/04/how-to-downgrade-a-sql-server-from-2008-r2-to-sql-server-2005/</guid>
      <description><![CDATA[Here's the situation. You have done an in-place upgrade of SQL Server from 2005 to SQL Server 2008...]]></description>
      <content:encoded><![CDATA[<p>Here's the situation. You have done an in-place upgrade of SQL Server from 2005 to SQL Server 2008 R2 and you do not have any backups for 2005 version. (This was one of the interview questions I faced)</p>
<p>&nbsp;</p>
<p>You can achieve this by Right click the database, go to 'Generate Scripts', Advanced, 'Script to Server Version' option.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/2746.downgrade.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/2746.downgrade.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/2746.downgrade.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/2746.downgrade.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><span>If the db is too large, script out just the database structure, then use your favorite method (SSIS, BCP, Import Wizard) to push the data.</span></p>
<p>&nbsp;</p>
<p>-Karthik (Database Consultant)</p>]]></content:encoded>
    </item>
    <item>
      <title>Find the percentage of fragmentation in a table for a database (What's the permission level needed?)</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/find-the-percentage-of-fragmentation-in-a-table-for-a-database-whats-the-permission-level-needed</link>
      <pubDate>Wed, 29 Jul 2015 04:28:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/07/29/find-the-percentage-of-fragmentation-in-a-table-for-a-database-whats-the-permission-level-needed/</guid>
      <description><![CDATA[I can find out the percentage of fragmentation for a particular table using the below query:

USE...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">I can find out the percentage of fragmentation for a particular table using the below query:</span></p>
<hr />
<pre style="padding-left: 30px;"><span style="font-family: georgia, palatino;">USE AdventureWorks</span><br /><span style="font-family: georgia, palatino;">GO</span><br /><span style="font-family: georgia, palatino;">SELECT object_name(IPS.object_id) AS [TableName], </span><br /><span style="font-family: georgia, palatino;"> SI.name AS [IndexName], </span><br /><span style="font-family: georgia, palatino;"> IPS.Index_type_desc, </span><br /><span style="font-family: georgia, palatino;"> IPS.avg_fragmentation_in_percent, </span><br /><span style="font-family: georgia, palatino;"> IPS.avg_fragment_size_in_pages, </span><br /><span style="font-family: georgia, palatino;"> IPS.avg_page_space_used_in_percent, </span><br /><span style="font-family: georgia, palatino;"> IPS.record_count, </span><br /><span style="font-family: georgia, palatino;"> IPS.ghost_record_count,</span><br /><span style="font-family: georgia, palatino;"> IPS.fragment_count, </span><br /><span style="font-family: georgia, palatino;"> IPS.avg_fragment_size_in_pages</span><br /><span style="font-family: georgia, palatino;">FROM sys.<span style="background-color: #ffff00;">dm_db_index_physical_stats</span>(db_id(N'master'), NULL, NULL, NULL , 'DETAILED') IPS</span><br /><span style="font-family: georgia, palatino;"> JOIN sys.tables ST WITH (nolock) ON IPS.object_id = ST.object_id</span><br /><span style="font-family: georgia, palatino;"> JOIN sys.indexes SI WITH (nolock) ON IPS.object_id = SI.object_id AND IPS.index_id = SI.index_id</span><br /><span style="font-family: georgia, palatino;">WHERE ST.is_ms_shipped = 0</span><br /><span style="font-family: georgia, palatino;">AND IPS.avg_fragmentation_in_percent&gt;=20</span><br /><span style="font-family: georgia, palatino;">ORDER BY 1,5</span><br /><span style="font-family: georgia, palatino;">GO</span></pre>
<hr />
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">If you don't want to monitor the percentage of fragmentation yourself and you want to give someone the permissions to view this information, execute the following:</span></p>
<hr />
<pre style="padding-left: 30px;"><span style="font-family: georgia, palatino;">USE AdventureWorks2012;</span><br /><span style="font-family: georgia, palatino;">GO</span><br /><span style="font-family: georgia, palatino;">GRANT <span style="background-color: #ffff00;">VIEW DATABASE STATE</span> TO [domain\user_account];</span><br /><span style="font-family: georgia, palatino;">GO</span></pre>
<hr />
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">DO NOT give db_owner permission :-)</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">This blog is just an example of what level of permission need to be provided to the application users so that we DBA's can avoid having to provide such reports ourselves and educate your application developers to do the right thing.</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">-KKB</span></p>
<p>&nbsp;</p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">Note: <strong>Fragmentation is not a problem, what's causing too much fragmentation is the problem. If you're successful in identifying a stored procedure or a statement which caused your box to go 100% CPU, check the query plan of that articular query during the issue and during when the CPU is 40-80%. Understand why, when we have a bad performance, the SQL Server took the bad plan and see if you can improve the performance.</strong></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>DBCC CHECKDB - Good to know!</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/dbcc-checkdb-good-to-know</link>
      <pubDate>Mon, 27 Jul 2015 07:20:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/07/27/dbcc-checkdb-good-to-know/</guid>
      <description><![CDATA[If you're a DBA, then you'll need the below content at least once in your career. Your company needs...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma, arial, helvetica, sans-serif; font-size: small;">If you're a DBA, then you'll need the below content at least once in your career. Your company needs to run DBCC CHECKDB on all system and user databases to keep it safe from corruption and take necessary actions when in trouble. Sometimes 825 errors get converted to 824 eventually. And as a DBA you don't want to see 823, trust me!</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif; font-size: small;">Sometimes DBCC CHECKTABLE, DBCC CHECKALLOC and DBCC CHECKCATALOG are not enough unless you tweek it according to some logic, anyways, the below command will make sure you haven't left anything un-turned from SQL end.</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif; font-size: small;"><span style="background-color: #ffff00;"><strong>EXEC&nbsp;sp_msforeachdb&nbsp;'DBCC CHECKDB(''?'') WITH ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS, DATA_PURITY'</strong></span></span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;"><span style="font-size: small;">If you feel that you need to run the DBCC CHECKDB on the MDF (live, not snapshot) then use&nbsp;</span>TABLOCK.</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">Tip: In Enterprise edition of SQL Server, the DBCC CHECKDB need not be single-threaded operation but in other editions of SQL Servers, DBCC CHECKDB is always single-threaded operation. In the SQL Server ERRORLOG, you'll see generation of minidump which is normal every time you run DBCC CHECKDB. SQLIOSim is a good command line utility to point out the problem with your underlying disk subsystem.&nbsp;</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">-KKB</span></p>
<p>&nbsp;</p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif; font-size: small;"><br /></span></p>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server Agent jobs collecting useful information, how to save them?</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/sql-server-agent-jobs-collecting-useful-information-how-to-save-them</link>
      <pubDate>Mon, 27 Jul 2015 06:44:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/07/27/sql-server-agent-jobs-collecting-useful-information-how-to-save-them/</guid>
      <description><![CDATA[Hi,
I was working on an OLTP environment where tempdb started growing crazy! Before even I got a...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">Hi,</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">I was working on an OLTP environment where tempdb started growing crazy! Before even I got a hold of the server, someone restarted the SQL Service and had a smile on his face (thinking he solved the problem), well, tempdb hadn't learnt it's lesson from this guy :D</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">I got hold of queries from</span> <a title="sudarn_blogs" href="http://thesqldude.com/2012/05/15/monitoring-tempdb-space-usage-and-scripts-for-finding-queries-which-are-using-excessive-tempdb-space/">this </a><span style="font-family: tahoma, arial, helvetica, sans-serif;">link and created a job to understand (one) which spid consumes the space, (two) what's the allocated KB and the de-allocated KB and (three) which query is eating my disk. I scheduled the job to run every 5 minutes (so that I don't miss the allocate and de-allocate pattern) and redirected the output to a text file! (Some of you are laughing at me now, yes, reading a text file for analysis is difficult.</span></p>
<p><strong>Why not append the output to our SQL Server :-)&nbsp;</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/8322.1.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/8322.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/8322.1.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/8322.1.png" alt="" border="0" /></a>&nbsp;</p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">Yes, that's simple. Say I have this query which I want to push to a sample table from where I want to analyze; use this technique. (Query window)</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/3755.2.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/3755.2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/3755.2.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/380x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/3755.2.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">This will create a table (which you can use to append your data).</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/7331.3.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/7331.3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/7331.3.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/200x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/7331.3.png" alt="" border="0" /></a></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">In the job, use the below script to append data into that table. (Job Step)</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/4174.4.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/4174.4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/4174.4.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/4174.4.png" alt="" border="0" /></a></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">This way, you can have your user table house the data of interest and not worry about how to read it during the analysis.</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">-KKB</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Great reference article from Sudarshan (who was my technical lead while I was working at Microsoft):&nbsp;http://thesqldude.com/2012/05/15/monitoring-tempdb-space-usage-and-scripts-for-finding-queries-which-are-using-excessive-tempdb-space/</p>]]></content:encoded>
    </item>
    <item>
      <title>What should my backup strategies be for system databases?</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/what-should-my-backup-strategies-be-for-system-databases</link>
      <pubDate>Sun, 26 Jul 2015 08:27:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/07/26/what-should-my-backup-strategies-be-for-system-databases/</guid>
      <description><![CDATA[If you're a DBA, you'll say, it's simple; in the maintenance plan, just select 'all databases' or if...]]></description>
      <content:encoded><![CDATA[<p>If you're a DBA, you'll say, it's simple; in the maintenance plan, just select 'all databases' or if you rely on tape backups (file level), then there's no question.</p>
<p>&nbsp;</p>
<p>Why would I write a blog about it? Everything goes fine until we have the system databases working, the moment we don't have backups for system databases, we lose&nbsp;logins, metadata information, information about replication in case you lose distribution database, and most importantly, when your team relies on you to perform any RCA!!! (Now, I'm sure you'll say, YES)</p>
<p>&nbsp;</p>
<p>Say you have around 800 instances, pull out a report on how you have configured the backups for system databases (some of your instances would be installed in C drive and the system databases go inside C drive but you'll not have backup strategies for C drive, you'd have it only for data &amp; log drive.)</p>
<p><strong>Master database</strong></p>
<p>Do I need to take the backup? Big yes.&nbsp;</p>
<p>Default recovery model is simple&nbsp;</p>
<p>Note: If you perform any change ("Change management"), you perform the backup/restore for your user database but you tend to forget taking a full backup of master database. Don't do that! Backup your master database also, after-all it's master ;-)</p>
<p><strong>Model database</strong></p>
<p><strong></strong>Even though it's just a template, if you made any standard changes, you'll need a full backup of model database to retain that change in case of disaster.</p>
<p>The recovery model is user configurable. However I'd keep it simple as we hardly make changes to model.</p>
<p><strong>Msdb database</strong></p>
<p>Yes, msdb backups are required. I have restored msdb databases 100's of times as a user database to get the metadata information while performing the RCA (say a database was dropped due to corruption and later restored from a good known backup but you'd want to know which pages were bad before it was dropped as a part of RCA.) You can go back and search for msdb..sys.suspect_pages to get that information.</p>
<p><strong>Resource database</strong></p>
<p>Big no! Simply because you can't back it up. It's a read-only database and yes, I'll not waste your time on this.</p>
<p><strong>Tempdb database</strong></p>
<p><span>You cannot back up the&nbsp;</span><strong>tempdb</strong><span>&nbsp;system database. You'll know what tempdb is for, "<span>A workspace for holding temporary or intermediate result sets. This database is re-created every time an instance of SQL Server is started. When the server instance is shut down, any data in&nbsp;</span><strong>tempdb</strong><span>&nbsp;is deleted permanently</span>". So that explains it all.</span></p>
<p><strong>Distribution Database</strong></p>
<p>It only exists if you're using replication which (unfortunately) is true for most of the enterprise companies! Just kidding! It has several features which cannot be replaced by any of the other DR/HA solutions, we'll discuss about that some other day. The default recovery model for distribution is simple and that's enough.</p>
<p>&nbsp;</p>
<p>OK, I accept, it's a simple blog (Picks from Technet article). My request to whoever reads this blog is to add their experience in the comments section which you think goes with the subject and I'll add that information post validation.</p>
<p>-KKB</p>]]></content:encoded>
    </item>
    <item>
      <title>What did I learn?</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/what-did-i-learn</link>
      <pubDate>Sun, 26 Jul 2015 07:18:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/07/26/what-did-i-learn/</guid>
      <description><![CDATA[This blog is slightly non-technical rather it's a bit about myself.
I worked in Microsoft IGTSC for...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">This blog is slightly non-technical rather it's a bit about myself.</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">I worked in <strong>Microsoft</strong> <strong>IGTSC</strong> for 4 years. Spent sleepless nights (because I was working :p) and spent good days during days while I was working for US after-hours business on SQL Azure technologies.</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">In this period, I gained a lot of technical skills. With the same spirit I joined my second company <strong>ANZ</strong> as a Technical consultant. I am a person who is happy with what I am doing and I love to say that I see my future very clear in this field.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">Today is the start of my next initiative - what did I learn today?</span></p>
<p>&nbsp;</p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">I am sure we learn a lot of stuff at job and do not see the importance of sharing our learning with others but what I observed over time is, every bit of knowledge sharing is important so some soul who's in a hurry to fix something, design something, build something!&nbsp;</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">I have been trying to figure out what's out there which'll earn you value in terms of technology. I saw a video on Python with 6 lines of code we could achieve what we could do using C (no, I'm not judging C; I love C too!)</span></p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">Well, I better start writing what I learnt today!</span></p>
<p>&nbsp;</p>
<p><span style="font-family: tahoma, arial, helvetica, sans-serif;">-KKB</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Check connectivity to Azure SQL Database using Azure PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/check-connectivity-to-azure-sql-database-using-azure-powershell</link>
      <pubDate>Fri, 12 Jun 2015 03:04:58 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/06/12/check-connectivity-to-azure-sql-database-using-azure-powershell/</guid>
      <description><![CDATA[This comes in handy to see if the customer is able to connect to the database server or not. In...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: 'courier new', courier;">This comes in handy to see if the customer is able to connect to the database server or not. In other words, if you want to check if the database connection can be reached to the server or not can be found by performing a small test.</span></p>
<hr />
<p><strong><span style="color: #000000; font-family: 'courier new', courier;"><span style="font-size: small;">If (New-Object System.Net.Sockets.TCPClient -ArgumentList 'xxxxxxxxxxx.database.windows.net',1433) { Write-Host 'YES' } If ($? -eq $false) { Write-Host 'NO' }</span></span></strong></p>
<hr />
<p><span style="font-family: 'courier new', courier;">One of my customers has an intermittent issue with connectivity within an Azure VM.&nbsp;</span></p>
<p><span style="font-family: 'courier new', courier;">See the screenshot below:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/5277.proof.PNG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/5277.proof.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/5277.proof.PNG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/5277.proof.PNG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="font-family: 'courier new', courier;">Above picture shows, the customer was not able to connect intermittently to the same server.&nbsp;</span></p>
<p><span style="font-family: 'courier new', courier;">-KKB</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Slow disk IO issues for SQL Server</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/slow-disk-io-issues-for-sql-server</link>
      <pubDate>Tue, 02 Jun 2015 23:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/06/02/slow-disk-io-issues-for-sql-server/</guid>
      <description><![CDATA[There are 100's of blogs on the topic that I am writing about today. It always helps me to look at...]]></description>
      <content:encoded><![CDATA[<p>There are 100's of blogs on the topic that I am writing about today. It always helps me to look at the data flow chart so sharing what I feel is helpful.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/8547.slow%20disk%20IO%20issues.PNG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/8547.slow-disk-IO-issues.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/8547.slow%20disk%20IO%20issues.PNG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/8547.slow-disk-IO-issues.PNG" alt="" width="1000" height="769" /></a></p>
<p>This is KKB from SQL Server world!</p>]]></content:encoded>
    </item>
    <item>
      <title>Permissions for Windows administrator to perform SQL Server setup</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/permissions-for-windows-administrator-to-perform-sql-server-setup</link>
      <pubDate>Tue, 02 Jun 2015 22:46:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/06/02/permissions-for-windows-administrator-to-perform-sql-server-setup/</guid>
      <description><![CDATA[You're starting a SQL Server setup | you've faced permission related errors during SQL Server setup...]]></description>
      <content:encoded><![CDATA[<div>You're starting a SQL Server setup | you've faced permission related errors during SQL Server setup | you've also gone through the <a title="article" href="https://msdn.microsoft.com/en-us/library/ms143504(v=sql.110).aspx#Windows">article </a>however finding it difficult to proceed, then read below :-)</div>
<ol type="1">
<li value="1"><span>Open Command prompt, on Windows 7 or above choose to "Run as Administrator"</span></li>
<li><span>type:<br /> cd %temp%</span></li>
<li><span>Type following command line exactly as it appears with the variables:<br /> whoami /all &gt; %username%_%computername%_Perms.txt</span></li>
<li><span>Open your &lt;actual_username&gt;_&lt;actual_server_name_Perms.txt</span></li>
<li><span>Under Group Names verify you see:<br /> BUILTIN\Administrators</span></li>
<li><span>Now scroll to bottom and the PRIVILEGES INFORMATION sections</span></li>
<li><span>Look for the following privileges, ignore the State column, this shows if currently being used. As long as the privilege is listed, it is granted, if you had to add the permission user must logout and log back in to take effect.</span></li>
</ol>
<div>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<p><span>Privilege Name</span></p>
</td>
<td>
<p><span>Description</span></p>
</td>
</tr>
<tr>
<td>
<p>SeTcbPrivilege</p>
</td>
<td>
<p>Act as part of the operating system &ndash; Should only ever be granted temporally while running setup, must be removed after installation to prevent security vulnerability.</p>
</td>
</tr>
<tr>
<td>
<p>SeAssignPrimaryTokenPrivilege</p>
</td>
<td>
<p>Replace a process level token &ndash; required for SQL Server 2005 failover clustered instances</p>
</td>
</tr>
</tbody>
</table>
</div>
<p><strong>Tip</strong>: Disks on Failover Clusters can fail to appear if BUILTIN\Administrators removed from:</p>
<div>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<p><span>SeDebugPrivilege</span></p>
</td>
<td>
<p>Debug programs</p>
</td>
</tr>
</tbody>
</table>
</div>
<p>With the privileges noted above any SQL Server setup should normally complete unless, local BUILTIN\Administrators has been limited (Hint: weird group policies!).</p>
<p>This is KKB from SQL Server world!</p>]]></content:encoded>
    </item>
    <item>
      <title>How to find thumbprint of an Azure certificate for Windows Powershell</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlazurekkb/how-to-find-thumbprint-of-an-azure-certificate-for-windows-powershell</link>
      <pubDate>Tue, 02 Jun 2015 06:07:14 GMT</pubDate>
      <dc:creator><![CDATA[Karthik Krishnamurthy Brahmavar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlazurekkb/2015/06/02/how-to-find-thumbprint-of-an-azure-certificate-for-windows-powershell/</guid>
      <description><![CDATA[It's going to be a simple blog post. 

If you're new to Azure PowerShell and you're looking to find...]]></description>
      <content:encoded><![CDATA[<span style="font-family: 'courier new', courier;">It's going to be a simple blog post. </span>

<span style="font-family: 'courier new', courier; color: #993300; background-color: #ffff00;">If you're new to Azure PowerShell and you're looking to find out the <strong>thumbprint</strong> of an Azure certificate, then you can read below.</span>

<span style="font-family: 'courier new', courier;">If you go through&nbsp;<a href="https://azure.microsoft.com/en-in/documentation/articles/powershell-install-configure">https://azure.microsoft.com/en-in/documentation/articles/powershell-install-configure</a>/, you'll learn how to -<strong>Get-AzurePublishSettingsFile</strong>- at 'Use the certificate method'.&nbsp;</span>

<span style="font-family: 'courier new', courier;">Once you login using your subscription email id and download the -<strong>.publishsettings file</strong>-, open it in any text editor.</span>

<span style="font-family: 'courier new', courier;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/6355.thumbprint.PNG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/6355.thumbprint.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/69/67/6355.thumbprint.PNG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-69-67/6355.thumbprint.PNG" alt="" border="0"></a></span>

<span style="font-family: 'courier new', courier;">The highlighted text is the <strong>thumbprint</strong> that you're looking for.</span>

<span style="font-family: 'courier new', courier;"><br></span>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>