<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
   <channel>
      <title>Main mrdenny RSS for Feed Burner</title>
      <description>Pipes Output</description>
      <link>http://pipes.yahoo.com/pipes/pipe.info?_id=2ac34ca7e9b56eeb17a0f8d40e26db3f</link>
      <atom:link rel="next" href="http://pipes.yahoo.com/pipes/pipe.run?_id=2ac34ca7e9b56eeb17a0f8d40e26db3f&amp;_render=rss&amp;page=2" />
      <pubDate>Wed, 19 Jun 2013 19:20:25 +0000</pubDate>
      <generator>http://pipes.yahoo.com/pipes/</generator>
      <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SqlServerWithMrDenny" /><feedburner:info uri="sqlserverwithmrdenny" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
         <title>SQL Server 2014 Standard Edition High Availability</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/lKY9QGC6cZc/</link>
         <description>With all the announcements about SQL Server 2014 this last week there have been a lot of questions about what’s going to happen for SQL Server 2014 and the non-shared storage High Availability options as we are now one step closer to database mirroring being removed from the product.&amp;#160; You’ll see several blog posts coming [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2705</guid>
         <pubDate>Mon, 10 Jun 2013 12:00:00 +0000</pubDate>
         <content:encoded><![CDATA[<p>With all the announcements about SQL Server 2014 this last week there have been a lot of questions about what’s going to happen for SQL Server 2014 and the non-shared storage High Availability options as we are now one step closer to database mirroring being removed from the product.&#160; You’ll see several blog posts coming out this morning from a variety of people all with their own opinions about what should be included.&#160; These opinions are mine and mine alone.</p>
<p>In SQL Server 2005 Standard Edition and up we had database mirroring which supported having a single mirror on site which was synchronous mirroring only with asynchronous mirroring being an Enterprise Edition feature.&#160; I would like to see this same feature set moved into the SQL Server 2014 Standard Edition product as well.&#160; How I would see this working would be the normal AlwaysOn Availability Group configuration that we have today but only supporting a single replica.&#160; I can see synchronous data movement being the only data movement option which would allow for a local onsite HA without giving you the ability for geographically distributed disaster recovery as that requires asynchronous data movement.</p>
<p>If Microsoft wanted to do something really nice for their Standard Edition customers they could allow for a second replica which would be an Azure database replica and that would allow for Disaster Recovery within Standard Edition while pushing Azure (which we all know is a big deal for Microsoft these days).</p>
<p>So there you have it, that’s what I would like to see in the SQL Server 2014 Standard Edition version of the product.&#160; Do I expect to see it, honestly I’m really not sure.&#160; Microsoft has been very tight lipped about what is coming in the Standard Edition, mostly because these decisions haven’t been made yet.&#160; Once they are someone people will be happy, others wont be, but that’ll be what we have to deal with until we do this all over again in a couple more years when the next version of SQL Server is released.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/lKY9QGC6cZc" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/sql-server-2014-standard-edition-high-availability/</feedburner:origLink></item>
      <item>
         <title>What does the RCSI overhead mean?</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/eZpvZDuNJPM/</link>
         <description>Earlier I posted a blog post which talked about the fact that when you turn on readable secondary replicas there are an additional 14 bytes of overhead which are added to each row. Overall the thought here is that the impact of this is probably pretty minimal. After all this is the same overhead for [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2685</guid>
         <pubDate>Wed, 05 Jun 2013 14:00:09 +0000</pubDate>
         <content:encoded><![CDATA[<p>Earlier I posted a blog post which talked about the fact that when you turn on readable secondary replicas there are an <a rel="nofollow" target="_blank" href="http://itknowledgeexchange.techtarget.com/sql-server/extra-bytes-per-row-with-alwayson-availability-groups/">additional 14 bytes of overhead</a> which are added to each row.</p>
<p>Overall the thought here is that the impact of this is probably pretty minimal. After all this is the same overhead for RCSI.  However where this becomes a problem is due to the page splitting that I mention in the other article and the fact that these 14 bytes don&#8217;t survive after an index rebuild but they do an index reorg.</p>
<p>I can see major page splitting issues happening on clustered indexes which are using the default fill factor of 100% full, which most clustered indexes use as that&#8217;s the correct fill factor to be using for a key column which is always growing.  But now as rows need to be changes within the clustered index that&#8217;s going to cause our clustered indexes, which never used to have to worry about page splits to suddenly start to split.</p>
<p>The solution here is that when using the readable secondary feature clustered indexes will need to account for this by using a fill factor other than 100% (or 0%) for the fill factor so that the page splits within the clustered index can be avoided.</p>
<p>Additionally we need to think long and hard about using index rebuilds or index reorgs when doing index maintenance.  If we have a table where the records are updated for a while then never updated again index rebuilds probably makes sense instead of index reorgs.  If however we are only doing index reorgs we are now storing an additional 14 bytes of data per row, eventually for most if not all of our rows for ever.  When talking about large tables that&#8217;s suddenly some actual space that needs to be accounted for.  For a table with 1 Billion rows that&#8217;s an additional 13 Gigs of additional space.  All in all not all that much space.  But if your 1 Billion row table has a row width of just 35 bytes your table should be about 33 Gigs, so an additional 13 Gigs of space is quite a lot.</p>
<p>I guess where I going here is that if you are going to be using AlwaysOn Availability Groups to protect your data and you are going to be using the readable secondary feature then there are going to be some other things within the database that you want to take into account.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/eZpvZDuNJPM" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/what-does-the-rcsi-overhead-mean/</feedburner:origLink></item>
      <item>
         <title>Extra Bytes Per Row With AlwaysOn Availability Groups</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/qoR7s7OvKv8/</link>
         <description>One of things to keep in mind with SQL Server 2012 AlwaysOn Availability Groups is that when the availability group has readable secondary replicas any rows that are changed will have an additional 14 bytes added to each row.  These 14 bytes are used by the readable secondary to handle the read committed snapshot isolation [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2676</guid>
         <pubDate>Tue, 28 May 2013 16:27:36 +0000</pubDate>
         <content:encoded><![CDATA[<p>One of things to keep in mind with SQL Server 2012 AlwaysOn Availability Groups is that when the availability group has readable secondary replicas any rows that are changed will have an additional 14 bytes added to each row.  These 14 bytes are used by the readable secondary to handle the read committed snapshot isolation level (RCSI) so that the readable secondary replicas work correctly.</p>
<p>To look at what’s going on lets create a sample new table in a table and take a peak at the data.  To setup this test we create a new database and setup that database for use with AlwaysOn Availability Groups.  The availability group is setup with no readable secondary replicas.</p>
<blockquote><p>create table MyTest (c1 int identity(1,1),<br />
c2 int,<br />
c3 varchar(100))<br />
GO<br />
insert into MyTest<br />
(c2, c3)<br />
values<br />
(1, &#8216;test&#8217;)<br />
GO 400</p></blockquote>
<p>This creates a new table in the database with 400 rows in it.  Looking at the output from DBCC IND we can see that this table takes up 2 data pages with a root page (this will become important later on).</p>
<p>Looking at the data for the first data page we can see the following information.</p>
<blockquote><p>Slot 0 Offset 0&#215;60 Length 23</p>
<p>Record Type = PRIMARY_RECORD        Record Attributes =  NULL_BITMAP VARIABLE_COLUMNS<br />
Record Size = 23<br />
Memory Dump @0x000000003CACA060</p>
<p>0000000000000000:   30000c00 01000000 01000000 03000001 00170074  0&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;t<br />
0000000000000014:   657374                                        est</p>
<p>Slot 0 Column 1 Offset 0&#215;4 Length 4 Length (physical) 4</p>
<p>c1 = 1</p>
<p>Slot 0 Column 2 Offset 0&#215;8 Length 4 Length (physical) 4</p>
<p>c2 = 1</p>
<p>Slot 0 Column 3 Offset 0&#215;13 Length 4 Length (physical) 4</p>
<p>c3 = test</p>
<p>Slot 0 Offset 0&#215;0 Length 0 Length (physical) 0</p>
<p>KeyHashValue = (8194443284a0)</p></blockquote>
<p>When we update this row changing the value of c2 to equal 2 nothing really changes which we can see from DBCC PAGE again.</p>
<blockquote><p>Slot 0 Offset 0&#215;60 Length 23</p>
<p>Record Type = PRIMARY_RECORD        Record Attributes =  NULL_BITMAP VARIABLE_COLUMNS<br />
Record Size = 23<br />
Memory Dump @0x000000003EECA060</p>
<p>0000000000000000:   30000c00 01000000 02000000 03000001 00170074  0&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;t<br />
0000000000000014:   657374                                        est</p>
<p>Slot 0 Column 1 Offset 0&#215;4 Length 4 Length (physical) 4</p>
<p>c1 = 1</p>
<p>Slot 0 Column 2 Offset 0&#215;8 Length 4 Length (physical) 4</p>
<p>c2 = 2</p>
<p>Slot 0 Column 3 Offset 0&#215;13 Length 4 Length (physical) 4</p>
<p>c3 = test</p>
<p>Slot 0 Offset 0&#215;0 Length 0 Length (physical) 0</p>
<p>KeyHashValue = (8194443284a0)</p></blockquote>
<p>Next I’ve changed the settings for the availability group to support readable secondary replicas.  Once that change has been made we change the value of c2 for the same row to equal the value of 3.  Again we can look at this with DBCC PAGE.</p>
<blockquote><p>Slot 0 Offset 0x1d4e Length 37</p>
<p>Record Type = PRIMARY_RECORD        Record Attributes =  NULL_BITMAP VARIABLE_COLUMNS VERSIONING_INFO<br />
Record Size = 37<br />
Memory Dump @0x000000003AEEBD4E</p>
<p>0000000000000000:   70000c00 01000000 03000000 03000001 00170074  p&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;t<br />
0000000000000014:   65737400 00000000 0000000f 06000000 00        est&#8230;&#8230;&#8230;&#8230;..</p>
<p>Version Information =<br />
Transaction Timestamp: 1551<br />
Version Pointer: Null</p>
<p>Slot 0 Column 1 Offset 0&#215;4 Length 4 Length (physical) 4</p>
<p>c1 = 1</p>
<p>Slot 0 Column 2 Offset 0&#215;8 Length 4 Length (physical) 4</p>
<p>c2 = 3</p>
<p>Slot 0 Column 3 Offset 0&#215;13 Length 4 Length (physical) 4</p>
<p>c3 = test</p>
<p>Slot 0 Offset 0&#215;0 Length 0 Length (physical) 0</p>
<p>KeyHashValue = (8194443284a0)</p></blockquote>
<p>Looking at these two outputs from DBCC PAGE we can see a couple of differences.  First we see an additional value in the “Record Attributes” field which adds in VERSIONING_INFO to the value.  We also see that the record size has changed from 32 to 37.  Additionally we see that the Version Information has been added.</p>
<p>Looking at the DBCC PAGE output on one of the replicas for the same page as before we see some different information.</p>
<blockquote><p>Slot 0 Offset 0x1d4e Length 37</p>
<p>Record Type = PRIMARY_RECORD        Record Attributes =  NULL_BITMAP VARIABLE_COLUMNS VERSIONING_INFO<br />
Record Size = 37<br />
Memory Dump @0x000000003893BD4E</p>
<p>0000000000000000:   70000c00 01000000 03000000 03000001 00170074  p&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;t<br />
0000000000000014:   65737440 01000001 0000000f 06000000 00        est@&#8230;&#8230;&#8230;&#8230;.</p>
<p>Version Information =<br />
Transaction Timestamp: 1551<br />
Version Pointer: (file 1 page 320 currentSlotId 0)</p>
<p>Slot 0 Column 1 Offset 0&#215;4 Length 4 Length (physical) 4</p>
<p>c1 = 1</p>
<p>Slot 0 Column 2 Offset 0&#215;8 Length 4 Length (physical) 4</p>
<p>c2 = 3</p>
<p>Slot 0 Column 3 Offset 0&#215;13 Length 4 Length (physical) 4</p>
<p>c3 = test</p>
<p>Slot 0 Offset 0&#215;0 Length 0 Length (physical) 0</p>
<p>KeyHashValue = (8194443284a0)</p></blockquote>
<p>Specifically at this point we see that the Version Pointer now has a value in it. This tells us that the SQL Server has put a copy of the original page into the tempdb database so that we can read it.</p>
<p>A question comes up as to what happens to the page when this row information is added.  Specifically does the page split because of this additional 14 bytes of new data per row.  The answer to this question is “it depends”.  In my testing that I did when I updated a single row the page didn’t split, mostly this would be because there was some free space in the database page.  When I updated rows 2-40 and looked at DBCC IND I saw that in fact the page had split.</p>
<p>Looking at the values within the page there are now 159 rows in the page which was the original database page when there were 322 rows within the database page.  The remainder of the rows were copied into a new database page.</p>
<p>Now that we’ve identified that SQL Server is going to be page splitting older database pages, potentially like crazy what can we do about it?  The answer to that question is to just deal with it and to decrease the fill factor as needed so that page splits happen as little as possible.</p>
<p>To make matters worse when we rebuild the index on the table and look at the output from DBCC PAGE again we can see that the additional flag has been removed from row 1 (seen below).  This tells us that no only will this problem come up the first time that data is modified, it’ll come up every time that index rebuilds are done when the data is changed for the first time after the rebuild.</p>
<blockquote><p>Slot 0 Offset 0&#215;60 Length 23</p>
<p>Record Type = PRIMARY_RECORD        Record Attributes =  NULL_BITMAP VARIABLE_COLUMNS<br />
Record Size = 23<br />
Memory Dump @0x000000003E0CA060</p>
<p>0000000000000000:   30000c00 01000000 03000000 03000001 00170074  0&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;t<br />
0000000000000014:   657374                                        est</p>
<p>Slot 0 Column 1 Offset 0&#215;4 Length 4 Length (physical) 4</p>
<p>c1 = 1</p>
<p>Slot 0 Column 2 Offset 0&#215;8 Length 4 Length (physical) 4</p>
<p>c2 = 3</p>
<p>Slot 0 Column 3 Offset 0&#215;13 Length 4 Length (physical) 4</p>
<p>c3 = test</p>
<p>Slot 0 Offset 0&#215;0 Length 0 Length (physical) 0</p>
<p>KeyHashValue = (8194443284a0)</p></blockquote>
<p><span style="color:#000000;">Changing the data again, this time changing the first 40 rows (id values 1-40) the new flag comes into place as expected.  If we reorganize the index instead of doing a rebuild this time the flags are left in place.</span></p>
<p><span style="color:#000000;">This tells us that the better option for doing index maintenance on databases which are being protected by AlwaysOn Availability Groups is going to be to use reorganize commands instead of rebuild commands.  This way the 14 byte pointer isn’t removed from the rows so that when they are modified the additional 14 bytes of data doesn’t need to be added.</span></p>
<p>If you’ve got rows which are changed all the time then this will be a way to handle it.  If the rows never change after the data is reorged then it may or may not be something worth worrying about.</p>
<p><span style="color:#000000;">Hopefully this helps answer the questions of what these extra bytes are for and how we can deal with them. </span></p>
<p><span style="color:#000000;">Denny </span></p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/qoR7s7OvKv8" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/extra-bytes-per-row-with-alwayson-availability-groups/</feedburner:origLink></item>
      <item>
         <title>Recommended reading from mrdenny for May 24, 2013</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/cUTV-PoL_ts/</link>
         <description>This week I&amp;#8217;ve found some great things for you to read. These are a few of my favorites that I&amp;#8217;ve found this week. EXECUTE, not required, but advisable. Windows Azure SQL Database and SQL Server &amp;#8212; Performance and Scalability Compared and Contrasted Setting up Quorum Node Weight in a Windows Server Failover Cluster Central Subscriber [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2671</guid>
         <pubDate>Fri, 24 May 2013 17:04:08 +0000</pubDate>
         <content:encoded><![CDATA[<p>This week I&#8217;ve found some great things for you to read. These are a few of my favorites that I&#8217;ve found this week.</p>
<p>
<ul>
<li><a rel="nofollow" target="_blank" href="http://t.co/gT8z8FiVx3" title="EXECUTE, not required, but advisable.">EXECUTE, not required, but advisable.</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/Lw5d3bfJPF" title="Windows Azure SQL Database and SQL Server -- Performance and Scalability Compared and Contrasted">Windows Azure SQL Database and SQL Server &#8212; Performance and Scalability Compared and Contrasted</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/SRJff5uq9K" title="Setting up Quorum Node Weight in a Windows Server Failover Cluster">Setting up Quorum Node Weight in a Windows Server Failover Cluster</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/sg8LwQg9oc" title="Central Subscriber Model Explained">Central Subscriber Model Explained</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/xge9o0tUm1" title="DBCC WRITEPAGE: an introduction">DBCC WRITEPAGE: an introduction</a></li>
</ul>
<ul>This weeks SQL Server person to follow on Twitter is:&nbsp;<a rel="nofollow" target="_blank" href="http://twitter.com/SaudiGeekNET" title="SaudiGeekNET also known as Hossam | &#x62d;&#x633;&#x627;&#x645; &#x627;&#x644;&#x641;&#x631;&#x64a;&#x62d;">SaudiGeekNET also known as Hossam | حسام الفريح</a></ul>
</p>
<p>Hopefully you find these articles as useful as I did.</p>
<p>Don&#8217;t forget to follow me on Twitter where my username is <a rel="nofollow" target="_blank" href="http://twitter.com/mrdenny">@mrdenny</a></p>
<p>.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/cUTV-PoL_ts" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/recommended-reading-from-mrdenny-for-may-24-2013/</feedburner:origLink></item>
      <item>
         <title>The Optimizer Isn’t As Smart As You Might Want It To Be</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/YiwAISLq08g/</link>
         <description>A little while back I got one of those phone calls.  You know the one, the lovely 6am phone call about random performance problems.  There were two problems that night.  One which I&amp;#8217;ll talk about later in another post, the second one which I want to talk about today. The query that was having problems [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2262</guid>
         <pubDate>Wed, 22 May 2013 14:00:49 +0000</pubDate>
         <content:encoded><![CDATA[<p>A little while back I got one of those phone calls.  You know the one, the lovely 6am phone call about random performance problems.  There were two problems that night.  One which I&#8217;ll talk about later in another post, the second one which I want to talk about today.</p>
<p>The query that was having problems is a dynamically generated query which comes from a stored procedure.  The basic query which was being run looked a lot like this.</p>
<blockquote><p>SELECT /*A bunch of columns*/<br />
FROM answer a<br />
JOIN session s ON a.SessionID = s.SessionID<br />
WHERE a.SessionID IN (4857385,5269932,5682479,6095026)</p></blockquote>
<p>Most of the time that this query was being run everything was just fine, however there were a some times when it was timing out. Looking into the execution plan for a normal run of the query everything looked just fine. However when this was being run sometimes there were 1.2M rows being pulled from the session table even though there were 4 specific IDs being passed in.</p>
<p>Looking at the properties of the index scan which was being performed against the session table I could see that the SQL Server turned the query to WHERE s.SessionID &gt;= 4857385 AND s.SessionID &lt;= 6095026. This was a problem as for some of these queries as like with this query there were 1.2M rows being returned from the session table instead of the 4 rows that should have been returned.</p>
<p>The fix in this case was to simply change there where clause from &#8220;WHERE a.SessionID&#8221; to &#8220;WHERE s.SessionID&#8221;. Now I&#8217;m not sure why this worked from the internals point of view but I do know that it worked. The next time the stored procedure ran it run in milliseconds instead of timing out at 30 seconds.</p>
<p>In this case the server in question was SQL Server 2008 R2 (10.50.2796). This may or may not apply to other builds of SQL Server. I&#8217;m pretty sure this is going to be a your mileage may vary sort of thing.</p>
<p>This is officially the least amount of work that I&#8217;ve ever done tuning a query as I only made a single change to a single letter of the query.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/YiwAISLq08g" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/the-optomizer-isnt-as-smart-as-you-might-want-it-to-me/</feedburner:origLink></item>
      <item>
         <title>Recommended reading from mrdenny for May 17, 2013</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/RpQDjpRkhu0/</link>
         <description>This week I&amp;#8217;ve found some great things for you to read. These are a few of my favorites that I&amp;#8217;ve found this week. Common Table Expressions (CTEs), Window Functions, and Views How big of a risk is BYOD? How can I get that user out of my table quickly Unemployed Chinese Graduates Say No Thanks [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2670</guid>
         <pubDate>Fri, 17 May 2013 17:04:00 +0000</pubDate>
         <content:encoded><![CDATA[<p>This week I&#8217;ve found some great things for you to read. These are a few of my favorites that I&#8217;ve found this week.</p>
<p>
<ul>
<li><a rel="nofollow" target="_blank" href="http://t.co/q0W0GVH0UL" title="Common Table Expressions (CTEs), Window Functions, and Views">Common Table Expressions (CTEs), Window Functions, and Views</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/S8USjZYk3O" title="How big of a risk is BYOD?">How big of a risk is BYOD?</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/WieGXLja8J" title="How can I get that user out of my table quickly">How can I get that user out of my table quickly</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/RyooQaQokV" title="Unemployed Chinese Graduates Say No Thanks To Factory Jobs">Unemployed Chinese Graduates Say No Thanks To Factory Jobs</a></li>
<li><a rel="nofollow" target="_blank" href="http://t.co/GWHjgV2xoZ" title="Choosing the Right SQL Server Version: It&#x2019;s Trickier than You&#x2019;d Think">Choosing the Right SQL Server Version: It’s Trickier than You’d Think</a></li>
</ul>
<ul>This weeks SQL Server person to follow on Twitter is:&nbsp;<a rel="nofollow" target="_blank" href="http://twitter.com/sqlpass" title="sqlpass also known as PASS">sqlpass also known as PASS</a></ul>
</p>
<p>Hopefully you find these articles as useful as I did.</p>
<p>Don&#8217;t forget to follow me on Twitter where my username is <a rel="nofollow" target="_blank" href="http://twitter.com/mrdenny">@mrdenny</a></p>
<p>.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/RpQDjpRkhu0" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/recommended-reading-from-mrdenny-for-may-17-2013/</feedburner:origLink></item>
      <item>
         <title>Error Handeling and DBCC CHECKDB</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/GgWr7qzq_Rc/</link>
         <description>A client that I&amp;#8217;ve been working at for a while needed to start doing DBCC CHECKDBs on their production server.  We hadn&amp;#8217;t been for a little while due to maintenance window constraints on their old production server.  Now that we&amp;#8217;ve scaled the application across 6 different servers we can now do DBCC CHECKDB on the [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2653</guid>
         <pubDate>Wed, 15 May 2013 14:00:35 +0000</pubDate>
         <content:encoded><![CDATA[<p>A client that I&#8217;ve been working at for a while needed to start doing DBCC CHECKDBs on their production server.  We hadn&#8217;t been for a little while due to maintenance window constraints on their old production server.  Now that we&#8217;ve scaled the application across 6 different servers we can now do DBCC CHECKDB on the production server regularly to ensure that there aren&#8217;t any database corruption problems on their production server.</p>
<p>As a part of this configuration we wanted to do the DBCC CHECKDB as a part of the backup job so that after the DBCC CHECKDB is complete the databases will then be backed up.</p>
<p>The catch here is that we didn&#8217;t want to have to dig through the errorlog file to figure out what the database was that&#8217;s having the problem, and we didn&#8217;t want the job to fail if there was a problem so I started looking at catching errors when running DBCC CHECKDB.  Sadly there aren&#8217;t really any good ways to do this.  TRY/CATCH doesn&#8217;t work because DBCC doesn&#8217;t actually throw error messages like a normal SQL statement does.  It returns the errors, but it doesn&#8217;t actually throw the errors so the CATCH block isn&#8217;t actually captured.  Running DBCC CHECKDB within an EXEC sp_executesql doesn&#8217;t catch the error either for the same reason, the error isn&#8217;t thrown it is simply displayed.  (The reason that the errors from DBCC CHECKDB show up in Management Studio in red I would assume is because SSMS is catching the format and displaying it correctly.)</p>
<p>To catch the errors I had to resort to some old school &#8220;error handeling&#8221; using the @@ERROR system function.  While this isn&#8217;t perfect, I&#8217;m not looking for perfect here.  I&#8217;m just looking for something that says that there&#8217;s an error so that I can send an email when there is an error then continue to loop through the databases looking for others with problems.</p>
<p>As this is step 1 of a multistep job this step is configured to move on to the next step on success or failure (as an email will have been sent and the data logged to the ERRORLOG) then we&#8217;ll procede to the backups.</p>
<p>The code that I&#8217;m using looks something like this&#8230;</p>
<p><code>/*Populate the table #dbs with the databases that need to be checked.*/<br />
DECLARE cur CURSOR FOR SELECT name from #dbs<br />
OPEN cur<br />
FETCH NEXT FROM cur INTO @name<br />
WHILE @@FETCH_STATUS 0<br />
BEGIN<br />
SET @sql = 'DBCC CHECKDB ([' + @name + '])'<br />
EXEC sp_executesql @sql<br />
IF @@ERROR 0<br />
BEGIN<br />
set @subject = 'CHECKDB failure for ' + @name<br />
set @body = 'DBCC CHECKDB failed for database ' + @name + '<br />
Command run was: ' + @sql<br />
exec msdb.dbo.sp_send_dbmail...<br />
END<br />
FETCH NEXT FROM cur INTO @name<br />
END<br />
CLOSE cur<br />
DEALLOCATE cur</code></p>
<p>There&#8217;s some custom code at the top which figures out which databases to process so that the job step runs DBCC CHECKDB on the same databases which the job will backup (this is figured out based on the database size, if the database is online, and if the database is currently being bulk loaded).  This code isn&#8217;t shown as it&#8217;s not relivant to this specific problem.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/GgWr7qzq_Rc" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/error-handeling-and-dbcc-checkdb/</feedburner:origLink></item>
      <item>
         <title>Two Factor Authentication Shouldn’t Depend on One Factor</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/p8R9Hr4US2c/</link>
         <description>Bank of America has decided to implement two factor authentication on their website when doing specific things like adding a remote account to transfer money to, or when doing a wire transfer (basically anything where money is going to leave the account). So far this sounds like an excellent plan. The second factor is that [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2666</guid>
         <pubDate>Sun, 05 May 2013 14:38:02 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://www.bofa.com">Bank of America</a> has decided to implement two factor authentication on their website when doing specific things like adding a remote account to transfer money to, or when doing a wire transfer (basically anything where money is going to leave the account). So far this sounds like an excellent plan. The second factor is that when I want to send money to another account or send a wire transfer they&#8217;ll send me a text message and I then enter the one time use code they text me into the website.</p>
<p>All this sounds perfect (except for if I&#8217;m out of the country and I can&#8217;t get their text messages), except for one little issue.</p>
<p>Adding a new cell phone to send a text message to is as simple as just logging onto the bank&#8217;s webpage. Once I log into the site I can simply add another cell phone, verify that I have the cell phone via a text message and then I can use that cell phone to approve any wire transfers. All very convenient. The problem is that is someone else figures out my username and password for the website they to can add a cell phone to my bank account, approve it for use, then start sending wire transfers off all my money to their account.</p>
<p>So while <a rel="nofollow" target="_blank" href="http://www.bofa.com">Bank of America</a> has two factor authentication, the second factor is dependent on knowing the first factor. For this to be actually useful two factor authentication it would need to require that I go into a branch with my ID to prove that I&#8217;m me and that I can add the phone as a two factor authentication phone. Additionally they should be using as an option one of the phone application based two factor authentication processes so that if I have several phones I can just use the one application, or if I&#8217;m not in the country I can still manage my money (which has been a problem a couple of times).</p>
<p>While I applaud the effort that <a rel="nofollow" target="_blank" href="http://www.bofa.com">Bank of America</a> has put into having two factor authentication, doing it correctly would be a lot more useful.  As currently you have one factor authentication with an annoyance.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/p8R9Hr4US2c" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/two-factor-authentication-shouldnt-depend-on-one-factor/</feedburner:origLink></item>
      <item>
         <title>Atlanta SQL Saturday PreCon</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/ne21wuLuCSw/</link>
         <description>At the upcoming SQL Saturday in Atlanta, GA I have the honor of delivering a precon on database security which has several seats still available. This precon is a full day session where we will be talking about all the security best practices. Signing up for the precon is pretty simple, just do to the [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2665</guid>
         <pubDate>Fri, 03 May 2013 10:25:56 +0000</pubDate>
         <content:encoded><![CDATA[<p>At the upcoming SQL Saturday in Atlanta, GA I have the honor of delivering a precon on database security which has several seats still available.</p>
<p>This precon is a full day session where we will be talking about all the security best practices.</p>
<p>Signing up for the precon is pretty simple, just do to the <a rel="nofollow" target="_blank" href="http://sqlsecurity.eventbrite.com/?ref=elink">URL for the precon</a> and fill out the form. </p>
<p>I hope to see you there,<br />
Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/ne21wuLuCSw" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/atlanta-sql-saturday-precon/</feedburner:origLink></item>
      <item>
         <title>I’m using simple recovery, so the log file isn’t important right?</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/l7zTSoYYJo4/</link>
         <description>One of the big myths of SQL Server resolves around the transaction log, and how it&amp;#8217;s used with the simple recovery model. Many people think that the simple recovery model doesn&amp;#8217;t use the transaction log.  More specifically they think that it&amp;#8217;s there because it has to be there, but that SQL Server doesn&amp;#8217;t actually use [...]</description>
         <guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2645</guid>
         <pubDate>Wed, 01 May 2013 14:00:34 +0000</pubDate>
         <content:encoded><![CDATA[<p>One of the big myths of SQL Server resolves around the transaction log, and how it&#8217;s used with the simple recovery model.</p>
<p>Many people think that the simple recovery model doesn&#8217;t use the transaction log.  More specifically they think that it&#8217;s there because it has to be there, but that SQL Server doesn&#8217;t actually use it.  The reality is that SQL Server still uses the transaction log, much like it does in full or bulk logged recovery modes.  There are some transactions which are going to be minimally logged, but for the most part the INSERT, UPDATE and DELETE commands are going to be fully logged just like normal.</p>
<p>What SQL Server does with the transaction log in simple recovery model is that when the transactions are committed they are written to the transaction log and the pages are dirtied in the buffer pool.  When checkpoint runs the dirty pages in the buffer pool are written to the disk.  Everything up to this point is basically the same as with the other recovery models.  Once the checkpoint has been completed things get different between simple recovery and the other two recovery models.  With the simple recovery model the virtual log files which were just checkpointed and had their dirty pages written to disk will be marked as no longer in use (status=0).  With bulk logged and full recovery this doesn&#8217;t happen until the transaction log backup has been completed.</p>
<p>Hopefully this helps dispel the myth.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/l7zTSoYYJo4" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://itknowledgeexchange.techtarget.com/sql-server/im-using-simple-recovery-so-the-log-file-isnt-important-right/</feedburner:origLink></item>
      <item>
         <title>Episode 029 – Jessica Moss</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/0Z5QduJVpug/episode-029-jessica-moss</link>
         <description>This week in episode 029 I&amp;#8217;m joined by Jessica Moss who is a Senior Business Intelligence &amp;#38; Data Warehouse Architect from Virginia.  In this episode Jessica and I talk about what a data warehouse is, and some of the problems that came come up with working through a data warehouse project.  Specifically how the language of the business, who has their own language much like IT does, can greatly impact how the data warehouse project is worked through.  Additionally you need to get people to set aside their own ideas of how things need to be done so that, at least for a while, people who are working on the data warehouse project focus on the data warehouse and it&amp;#8217;s needs not just the needs of the line of business application which they normally work on.</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=323</guid>
         <pubDate>Wed, 10 Apr 2013 16:00:40 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/wp-content/uploads/2013/04/JMMossSmall.jpg"><img class="alignright size-full wp-image-325" alt="JMMossSmall" src="http://peopletalkingtech.com/wp-content/uploads/2013/04/JMMossSmall.jpg" width="100" height="130"/></a>This week in episode 029 I&#8217;m joined by Jessica Moss who is a Senior Business Intelligence &amp; Data Warehouse Architect from Virginia.  In this episode Jessica and I talk about what a data warehouse is, and some of the problems that came come up with working through a data warehouse project.  Specifically how the language of the business, who has their own language much like IT does, can greatly impact how the data warehouse project is worked through.  Additionally you need to get people to set aside their own ideas of how things need to be done so that, at least for a while, people who are working on the data warehouse project focus on the data warehouse and it&#8217;s needs not just the needs of the line of business application which they normally work on.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/0Z5QduJVpug" height="1" width="1"/>]]></content:encoded>
         <enclosure length="23295031" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_029_Jessica_Moss-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-029-jessica-moss</feedburner:origLink></item>
      <item>
         <title>Episode 028 – Sean and Jen McCown</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/b80k08AdPyE/episode-028-sean-and-jen-mccown</link>
         <description>This week in episode 028 I&amp;#8217;m joined by the Midnight DBAs Sean and Jen McCown.  Sean and Jen are located in Dallas Texas where they broadcast the Midnight DBA webcast from.  In this weeks episode we talk about a bunch of different topics including some of the issues with moving from a more traditional job role as a database administrator to being an Independent Consultant, among other topics that you&amp;#8217;ll just have to listen in to explore.  We do kind of jump all over the place.</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=315</guid>
         <pubDate>Wed, 27 Mar 2013 16:00:23 +0000</pubDate>
         <content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-317" alt="SeanJen" src="http://peopletalkingtech.com/wp-content/uploads/2013/03/SeanJen-150x150.jpg" width="150" height="150"/>This week in episode 028 I&#8217;m joined by the Midnight DBAs Sean and Jen McCown.  Sean and Jen are located in Dallas Texas where they broadcast the <a rel="nofollow" target="_blank" href="http://midnightdba.itbookworm.com/">Midnight DBA</a> webcast from.  In this weeks episode we talk about a bunch of different topics including some of the issues with moving from a more traditional job role as a database administrator to being an Independent Consultant, among other topics that you&#8217;ll just have to listen in to explore.  We do kind of jump all over the place.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/b80k08AdPyE" height="1" width="1"/>]]></content:encoded>
         <enclosure length="39546967" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_028_Sean_and_Jen_McCown-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-028-sean-and-jen-mccown</feedburner:origLink></item>
      <item>
         <title>Episode 027 – Boris Hristov</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/3sK59DI2-S0/episode-027-boris-hristov</link>
         <description>This week in episode 027 I&amp;#8217;m joined by Boris Hristov from Bulgaria.  Boris is a SQL Server Database Administrator and Trainer for HP in their consulting services branch of the company.  In this episode Boris and I talk about why all DBAs need to have basic presentation skills.  And it isn&amp;#8217;t even for those DBAs who want to get into presenting, but just the normal DBAs which most of us are need to bone up on our PowerPoint and get used to standing in front of our peers at the office from time to time. Aside from that we also chat a little bit about some of the issues that people are seeing when it comes to adopting SQL Server 2012 (hint, it&amp;#8217;s mostly a money problem). As always, thanks for listening and I hope you enjoy the show.</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=301</guid>
         <pubDate>Wed, 20 Mar 2013 16:00:44 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/wp-content/uploads/2013/03/Boris-Hristov.jpg"><img class="alignright size-thumbnail wp-image-300" alt="Boris Hristov" src="http://peopletalkingtech.com/wp-content/uploads/2013/03/Boris-Hristov-150x150.jpg" width="150" height="150"/></a>This week in episode 027 I&#8217;m joined by Boris Hristov from Bulgaria.  Boris is a SQL Server Database Administrator and Trainer for HP in their consulting services branch of the company.  In this episode Boris and I talk about why all DBAs need to have basic presentation skills.  And it isn&#8217;t even for those DBAs who want to get into presenting, but just the normal DBAs which most of us are need to bone up on our PowerPoint and get used to standing in front of our peers at the office from time to time.</p>
<p>Aside from that we also chat a little bit about some of the issues that people are seeing when it comes to adopting SQL Server 2012 (hint, it&#8217;s mostly a money problem).</p>
<p>As always, thanks for listening and I hope you enjoy the show.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/3sK59DI2-S0" height="1" width="1"/>]]></content:encoded>
         <enclosure length="18385266" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_027_Boris_Hristov-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-027-boris-hristov</feedburner:origLink></item>
      <item>
         <title>Episode 026 – Chris Testa-O’neill, John Martin &amp; Andre Kamman</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/oOAeldsTXFw/episode-026-chris-testa-oneill-john-martin-andre-kamman</link>
         <description>This week in episode 026 I&amp;#8217;m joined by Chris Testa-O&amp;#8217;neill, John Martin and Andre Kamman.  Chris is a BI consultant with CoEo based in the UK, John is a Database Administrator based on the UK and Andre is a BI and SQL Server consultant based in the Neatherlands.  In this episode, which was recorded at SQL Saturday 194 in Exeter, England, we talk all about BI Architecture and some of the things that people should be looking at when starting a BI project. I hope you enjoy the session. &amp;#160;</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=294</guid>
         <pubDate>Wed, 13 Mar 2013 16:00:57 +0000</pubDate>
         <content:encoded><![CDATA[<p>This week in episode 026 I&#8217;m joined by Chris Testa-O&#8217;neill, John Martin and Andre Kamman.  Chris is a BI consultant with CoEo based in the UK, John is a Database Administrator based on the UK and Andre is a BI and SQL Server consultant based in the Neatherlands.  In this episode, which was recorded at SQL Saturday 194 in Exeter, England, we talk all about BI Architecture and some of the things that people should be looking at when starting a BI project.</p>
<p>I hope you enjoy the session.</p>

<p><img class="size-thumbnail wp-image-307 alignnone" alt="Chris Testa-O'Neill" src="http://peopletalkingtech.com/wp-content/uploads/2013/03/Chris-Testa-ONeill-150x150.jpg" width="150" height="150"/><img class="alignnone size-thumbnail wp-image-311" alt="SQLMonkeyHeadshot" src="http://peopletalkingtech.com/wp-content/uploads/2013/03/SQLMonkeyHeadshot-150x150.png" width="150" height="150"/><img class="alignnone size-thumbnail wp-image-309" alt="Andre Kamman" src="http://peopletalkingtech.com/wp-content/uploads/2013/03/Andre-Kamman-150x150.jpg" width="150" height="150"/></p>
<p>&nbsp;</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/oOAeldsTXFw" height="1" width="1"/>]]></content:encoded>
         <enclosure length="30028316" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_026_Chris_Testa-Oneill_John_Martin_Andre_Kamman-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-026-chris-testa-oneill-john-martin-andre-kamman</feedburner:origLink></item>
      <item>
         <title>Episode 025 – Grant Fritchey</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/72-YewNIrFw/episode-025-grant-fritchey</link>
         <description>This week in episode, number 025 I&amp;#8217;m joined by Grant Fritchey.  Grant is a product evangelist for Red Gate software which means he&amp;#8217;s probably got the coolest job around.  His job is to talk to people about Red Gate&amp;#8217;s products. During the show this week we talk about some of the ups and downs of working from home and some of the tricks that we&amp;#8217;ve learned over the years of working from home to keep yourself sane and keep being productive while working somewhere which is both distracting and isolating all that the same time. You can find out more about grant on his blog &amp;#8220;Home of the Scary DBA&amp;#8220;.</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=289</guid>
         <pubDate>Tue, 05 Mar 2013 16:00:35 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/wp-content/uploads/2013/03/GrantRedGateSmiling.jpg"><img class="alignright size-thumbnail wp-image-304" alt="GrantRedGateSmiling" src="http://peopletalkingtech.com/wp-content/uploads/2013/03/GrantRedGateSmiling-150x150.jpg" width="150" height="150"/></a>This week in episode, number 025 I&#8217;m joined by Grant Fritchey.  Grant is a product evangelist for Red Gate software which means he&#8217;s probably got the coolest job around.  His job is to talk to people about Red Gate&#8217;s products.</p>
<p>During the show this week we talk about some of the ups and downs of working from home and some of the tricks that we&#8217;ve learned over the years of working from home to keep yourself sane and keep being productive while working somewhere which is both distracting and isolating all that the same time.</p>
<p>You can find out more about grant on his blog &#8220;<a rel="nofollow" target="_blank" href="http://www.scarydba.com/">Home of the Scary DBA</a>&#8220;.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/72-YewNIrFw" height="1" width="1"/>]]></content:encoded>
         <enclosure length="29286060" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_025_Grant_Fritchey-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-025-grant-fritchey</feedburner:origLink></item>
      <item>
         <title>Episode 024 – Karen Lopez</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/nnU03wq8pJk/episode-024-karen-lopez</link>
         <description>In this weeks episode, which is episode 24, I&amp;#8217;m joined once again by Karen Lopez.  Karen is a project manager and architect with Info Advisors.  She is also a fellow NASA TweetUp alumni as well as being the owner of some of the most famous and well traveled Barbie dolls in the world.  During this episode we talk about data security, and data loss.  Data loss has been a major problem recently for a lot of companies and government agencies which has led to a lot of peoples information being exposed to what ever random person found/stole it.  Karen and I talk about some of these recent data loss events and how they happened and how they could have been avoided; and most importantly why they should be avoided.   Karen has written a lot about data breaches which you can read about here. Here are some write-ups of some of the data breaches which we talked about during the podcast. Got Health Data? Your Penalty Exposures For Data Breaches Just Increased Federal Department Bans Use of Portable Devices (YAFF) Utah Health Department – Yet Another Flashdrive FAIL (YAFF) BC Health Ministry Data Breach Affects Millions Karen&amp;#8217;s Data Modeling Blog at Datversity.net Salary data [...]</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=279</guid>
         <pubDate>Tue, 26 Feb 2013 16:00:25 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/wp-content/uploads/2012/09/PanelPortrait.png"><img class="alignright size-full wp-image-60" alt="PanelPortrait" src="http://peopletalkingtech.com/wp-content/uploads/2012/09/PanelPortrait.png" width="165" height="221"/></a>In this weeks episode, which is episode 24, I&#8217;m joined once again by Karen Lopez.  Karen is a project manager and architect with <a rel="nofollow" target="_blank" href="http://www.infoadvisors.com">Info Advisors</a>.  She is also a fellow NASA TweetUp alumni as well as being the owner of some of the most famous and well traveled Barbie dolls in the world.  During this episode we talk about data security, and data loss.  Data loss has been a major problem recently for a lot of companies and government agencies which has led to a lot of peoples information being exposed to what ever random person found/stole it.  Karen and I talk about some of these recent data loss events and how they happened and how they could have been avoided; and most importantly why they should be avoided.   Karen has written a lot about data breaches which you can <a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/index.php/category/data/data-breach/">read about here</a>.</p>

<p>Here are some write-ups of some of the data breaches which we talked about during the podcast.</p>
<p><a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/30/got-health-data-your-penalty-exposures-for-data-breaches-just-increased/">Got Health Data? Your Penalty Exposures For Data Breaches Just Increased</a></p>
<p><a rel="nofollow" title="Federal Department Bans Use of Portable Devices (YAFF)" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/22/federal-department-bans-use-of-portable-devices-yaff/">Federal Department Bans Use of Portable Devices (YAFF)</a></p>
<p><a rel="nofollow" title="Utah Health Department &#x002013; Yet Another Flashdrive FAIL (YAFF)" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/18/utah-health-department-yet-another-flashdrive-fail-yaff/">Utah Health Department – Yet Another Flashdrive FAIL (YAFF)</a></p>
<p><a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/16/b-c-health-ministry-data-breach-affects-millions/">BC Health Ministry Data Breach Affects Millions</a></p>
<p><a rel="nofollow" target="_blank" href="http://www.dataversity.net/category/discussion/blogs/karen-lopez/">Karen&#8217;s Data Modeling Blog at Datversity.net</a></p>
<p><a rel="nofollow" target="_blank" href="http://redtape.nbcnews.com/_news/2013/01/30/16762661-exclusive-your-employer-may-share-your-salary-and-equifax-might-sell-that-data">Salary data </a></p>
<p>&nbsp;</p>
<p>&nbsp;</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/nnU03wq8pJk" height="1" width="1"/>]]></content:encoded>
         <enclosure length="38807927" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_024_Karen_Lopez-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-024-karen-lopez</feedburner:origLink></item>
      <item>
         <title>Episode 023 – Chris Webb</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/5ucEyVapm5E/episode-023-chris-webb</link>
         <description>This week in episode 023 I&amp;#8217;m joined by Chris Webb.  Chris is a SSAS and PowerPivot Consultant and Trainer based out of the UK.  Chris and I talked over Office 2013, BI and where everything BI has come from, where it is in 2013 and where it&amp;#8217;ll be going in the future.  We also talk over some of the potential pitfalls that BI adoption has which includes the fact that people don&amp;#8217;t deploy the new versions of Microsoft Office right away.  Hopefully things like Office 365 and SharePoint Online will help people move into the BI Space faster.  Listen in for more&amp;#8230;</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=259</guid>
         <pubDate>Tue, 19 Feb 2013 16:00:06 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/?attachment_id=260"><img class="alignright size-thumbnail wp-image-260" alt="Chris headshot cropped" src="http://peopletalkingtech.com/wp-content/uploads/2013/01/Chris-headshot-cropped-150x150.jpg" width="150" height="150"/></a>This week in episode 023 I&#8217;m joined by <a rel="nofollow" target="_blank" href="http://cwebbbi.wordpress.com/">Chris Webb</a>.  Chris is a SSAS and PowerPivot Consultant and Trainer based out of the UK.  Chris and I talked over Office 2013, BI and where everything BI has come from, where it is in 2013 and where it&#8217;ll be going in the future.  We also talk over some of the potential pitfalls that BI adoption has which includes the fact that people don&#8217;t deploy the new versions of Microsoft Office right away.  Hopefully things like Office 365 and SharePoint Online will help people move into the BI Space faster.  Listen in for more&#8230;</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/5ucEyVapm5E" height="1" width="1"/>]]></content:encoded>
         <enclosure length="30928978" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_023_Chris_Webb-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-023-chris-webb</feedburner:origLink></item>
      <item>
         <title>Episode 022 – Gail Shaw</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/LZIWbkr3IsY/episode-022-gail-shaw</link>
         <description>This week in episode 022 I&amp;#8217;m joined by Gail Shaw who is a fellow SQL Server MVP and a SQL Server Consultant from Johannesburg, South Africa.  Gail is a major question answerer on some of the forums where she answers lots of SQL Server programming questions.  During this weeks episode Gail and I talk through some of the biggest problems that she sees in questions that are asked.  This includes things like BEGIN TRANSACTION, COMMIT and ROLLBACK TRANSACTION, as well as a single stored procedure that does everything, and of the biggest issues that she sees online error handling, or more specifically the lack of error handling and the improper use of error handling.</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=229</guid>
         <pubDate>Tue, 12 Feb 2013 16:00:13 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/?attachment_id=230"><img class="alignright size-full wp-image-230" alt="Gail" src="http://peopletalkingtech.com/wp-content/uploads/2013/01/Gail.jpg" width="78" height="100"/></a>This week in episode 022 I&#8217;m joined by <a rel="nofollow" target="_blank" href="http://sqlinthewild.co.za/">Gail Shaw</a> who is a fellow SQL Server MVP and a SQL Server Consultant from Johannesburg, South Africa.  Gail is a major question answerer on some of the forums where she answers lots of SQL Server programming questions.  During this weeks episode Gail and I talk through some of the biggest problems that she sees in questions that are asked.  This includes things like BEGIN TRANSACTION, COMMIT and ROLLBACK TRANSACTION, as well as a single stored procedure that does everything, and of the biggest issues that she sees online error handling, or more specifically the lack of error handling and the improper use of error handling.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/LZIWbkr3IsY" height="1" width="1"/>]]></content:encoded>
         <enclosure length="33295045" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_022_Gail_Shaw-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-022-gail-shaw</feedburner:origLink></item>
      <item>
         <title>Episode 021 – Richard Hicks</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/A1D4Rr0nM-w/episode-021-richard-hicks</link>
         <description>This week in episode 021 I&amp;#8217;m joined by Richard Hicks which is a networking and information security expect specializing in Microsoft technologies. As a four-time Microsoft Most Valuable Professional (MVP), he has traveled around the world speaking to network engineers, security  administrators, and IT professionals about Microsoft edge security and remote access solutions.  A former information security engineer for a Fortune 100 financial services company in the U.S., he has nearly two decades experience working in large scale corporate computing environments. He has designed and deployed perimeter defense and secure remote access solutions for some of the largest companies in the world. Richard has served as a technical reviewer on several Windows networking and security books, and is a contributing author for WindowsSecurity.com and ISAserver.org. In this podcast we talk all about Direct Access and Remote Access, the overall differences between the two concepts and some of the stumbling blocks that people may run into when planning on deploying Direct Access on Windows Server 2008 R2 and Windows Server 2012.</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=222</guid>
         <pubDate>Tue, 05 Feb 2013 16:00:37 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/episode-021-richard-hicks/rh_200x300"><img class="alignright size-thumbnail wp-image-224" alt="rh_200x300" src="http://peopletalkingtech.com/wp-content/uploads/2013/02/rh_200x300-150x150.jpg" width="150" height="150"/></a>This week in episode 021 I&#8217;m joined by <a rel="nofollow" target="_blank" href="http://www.richardhicks.com/">Richard Hicks</a> which is a networking and information security expect specializing in Microsoft technologies. As a four-time Microsoft Most Valuable Professional (MVP), he has traveled around the world speaking to network engineers, security  administrators, and IT professionals about Microsoft edge security and remote access solutions.  A former information security engineer for a Fortune 100 financial services company in the U.S., he has nearly two decades experience working in large scale corporate computing environments. He has designed and deployed perimeter defense and secure remote access solutions for some of the largest companies in the world. Richard has served as a technical reviewer on several Windows networking and security books, and is a contributing author for <a rel="nofollow" target="_blank" href="http://WindowsSecurity.com">WindowsSecurity.com</a> and <a rel="nofollow" target="_blank" href="http://ISAserver.org">ISAserver.org</a>.</p>
<p>In this podcast we talk all about Direct Access and Remote Access, the overall differences between the two concepts and some of the stumbling blocks that people may run into when planning on deploying Direct Access on Windows Server 2008 R2 and Windows Server 2012.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/A1D4Rr0nM-w" height="1" width="1"/>]]></content:encoded>
         <enclosure length="23553252" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/peopletalkingtech.com/eps/Episode_021_Richard_Hicks-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-021-richard-hicks</feedburner:origLink></item>
      <item>
         <title>Episode 020 – Matt Griffin</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/sbQh3bKZVCI/episode-020-matt-griffin</link>
         <description>This week in episode 020 I&amp;#8217;m joined by Matt Griffin who is officially the youngest person to join us on the show to date.  He&amp;#8217;s fresh out of college having graduates only a few months ago but he has been able to get a job as a Technology Analyst at Apparatus in Indianapolis, Indiana .  During this episode of People Talking Tech we talk about the experience that Matt had while moving from college student into IT professional.  Matt also has some great advice for those who are moving through college and into the working world.  This includes when to look at IT certifications, what to say during a job interview and most importantly what not to say during the job interview.</description>
         <guid isPermaLink="false">http://peopletalkingtech.com/?p=215</guid>
         <pubDate>Tue, 29 Jan 2013 16:00:23 +0000</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://peopletalkingtech.com/episode-020-matt-griffen/matt"><img class="alignright size-thumbnail wp-image-217" alt="Matt" src="http://peopletalkingtech.com/wp-content/uploads/2013/01/Matt-150x150.jpg" width="150" height="150"/></a>This week in episode 020 I&#8217;m joined by <a rel="nofollow" target="_blank" href="http://www.mattblogsit.com">Matt Griffin</a> who is officially the youngest person to join us on the show to date.  He&#8217;s fresh out of college having graduates only a few months ago but he has been able to get a job as a Technology Analyst at <a rel="nofollow" target="_blank" href="http://www.apparatus.net/">Apparatus</a> in Indianapolis, Indiana .  During this episode of People Talking Tech we talk about the experience that Matt had while moving from college student into IT professional.  Matt also has some great advice for those who are moving through college and into the working world.  This includes when to look at IT certifications, what to say during a job interview and most importantly what not to say during the job interview.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/sbQh3bKZVCI" height="1" width="1"/>]]></content:encoded>
         <enclosure length="21269941" type="audio/mpeg" url="http://media.blubrry.com/peopletalkingtech/www.peopletalkingtech.com/eps/Episode_020_Matt_Griffin-c.mp3" />
      <feedburner:origLink>http://peopletalkingtech.com/episode-020-matt-griffin</feedburner:origLink></item>
      <item>
         <title>Health Data Breaches – Insider Data Trading?</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/g2Z1KO6PM50/health-data-breaches-insider-data-trading</link>
         <description>This was reposted from http://blog.infoadvisors.com/index.php/2013/01/09/health-data-breaches-insider-data-trading/ written by Karen Lopez. They get all the credit for this, not me. It seems like the majority of health data breaches I read about are via insiders with access to patient information systems stealing and selling their data. Federal authorities say Sergei Kusyakov, who was involved with Metro Chiropractic [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=141</guid>
         <pubDate>Wed, 16 Jan 2013 01:49:15 +0000</pubDate>
         <content:encoded><![CDATA[<p>This was reposted from <a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/09/health-data-breaches-insider-data-trading/">http://blog.infoadvisors.com/index.php/2013/01/09/health-data-breaches-insider-data-trading/</a> written by Karen Lopez. They get all the credit for this, not me.</p>
<p><a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/wordpress/wp-content/uploads/2013/01/image1.png"><img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="image" src="http://blog.infoadvisors.com/wordpress/wp-content/uploads/2013/01/image_thumb1.png" width="183" height="244"></a></p>
<p>It seems like the majority of health data breaches I read about are via insiders with access to patient information systems stealing and selling their data.</p>
<blockquote><p>Federal authorities say Sergei Kusyakov, who was involved with Metro Chiropractic and Wellness Center and City Lights Medical Center, illegally obtained private information about patients through Dale Munroe II and his wife, Katrina Munroe, who worked at Florida Hospital’s Celebration campus.</p>
<p>Authorities said Dale Munroe accessed more than 763,000 records for patients treated at various Florida</p></blockquote>
<p>&#8230;</p>
<p>Additional reading can be found at the <a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/09/health-data-breaches-insider-data-trading/">original author&#8217;s post</a>.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/g2Z1KO6PM50" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/health-data-breaches-insider-data-trading</feedburner:origLink></item>
      <item>
         <title>NTLM 100% Broken Using Hashes Derived From Captures</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/pvQoj-Z1ZT4/ntlm-100-broken-using-hashes-derived-from-captures</link>
         <description>This was reposted from http://rss.slashdot.org/~r/Slashdot/slashdot/~3/-x3fWaDw3LA/story01.htm written by Soulskill. They get all the credit for this, not me. New submitter uCallHimDrJ0NES writes &amp;#8220;Security researcher Mark Gamache has used Moxie Marlinspike&amp;#8217;s Cloudcracker to derive hashes from captured NTLM handshakes, resulting in successful pass-the-hash attacks. It&amp;#8217;s been going on for a long time, probably, but this is the [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=139</guid>
         <pubDate>Thu, 10 Jan 2013 08:42:58 +0000</pubDate>
         <content:encoded><![CDATA[<p>This was reposted from <a rel="nofollow" target="_blank" href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/-x3fWaDw3LA/story01.htm">http://rss.slashdot.org/~r/Slashdot/slashdot/~3/-x3fWaDw3LA/story01.htm</a> written by Soulskill. They get all the credit for this, not me.</p>
<p>New submitter uCallHimDrJ0NES writes &#8220;Security researcher Mark Gamache has used Moxie Marlinspike&#8217;s Cloudcracker to derive hashes from captured NTLM handshakes, resulting in successful pass-the-hash attacks. It&#8217;s been going on for a long time, probably, but this is the first time a &#8216;white hat&#8217; has researched and exposed the how-to details for us all to enjoy. &#8216;You might think that with all the papers and presentations, no one would be using NTLM&#8230;or, God forbid, LM. NTLMv2 has been around for quite some time. Surely, everyone is using it. Right? Wrong! According to the last data from the W3 Schools, 21% of computers are running XP, while NetMarketShare claims it is 39%. Unless someone has hardened these machines (no MS patches do this), these machines are sending LM and NTLM responses!&#8217; Microsoft has posted a little guidance for those who need to turn off NTLM. Have fun explaining your new security project to your management, server admins!&#8221;
<div> </div>
<p>&#8230;</p>
<p>Additional reading can be found at the <a rel="nofollow" target="_blank" href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/-x3fWaDw3LA/story01.htm">original author&#8217;s post</a>.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/pvQoj-Z1ZT4" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/ntlm-100-broken-using-hashes-derived-from-captures</feedburner:origLink></item>
      <item>
         <title>Ruby On Rails SQL Injection Flaw Has Serious Real-Life Consequences</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/P0O7N38mRrw/ruby-on-rails-sql-injection-flaw-has-serious-real-life-consequences</link>
         <description>This was reposted from http://rss.slashdot.org/~r/Slashdot/slashdot/~3/4jJjYcqA-4M/story01.htm written by Unknown Lamer. They get all the credit for this, not me. vikingpower writes &amp;#8220;As a previous Slashdot story already reported, Ruby on Rails was recently reported to suffer from a major SQL injection flaw. This has prompted the Dutch government to take the one and only national site [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=137</guid>
         <pubDate>Thu, 10 Jan 2013 08:42:47 +0000</pubDate>
         <content:encoded><![CDATA[<p>This was reposted from <a rel="nofollow" target="_blank" href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/4jJjYcqA-4M/story01.htm">http://rss.slashdot.org/~r/Slashdot/slashdot/~3/4jJjYcqA-4M/story01.htm</a> written by Unknown Lamer. They get all the credit for this, not me.</p>
<p>vikingpower writes &#8220;As a previous Slashdot story already reported, Ruby on Rails was recently reported to suffer from a major SQL injection flaw. This has prompted the Dutch government to take the one and only national site for citizens&#8217; digital identification offline (link in Dutch, Google translation to English). Here is the English-language placeholder page for the now-offline site. This means that 16 million Dutch citizens cannot authenticate themselves anymore with government instances, and that those same government instances can not communicate anything to those same citizens anymore.&#8221; Fixes were released, so it looks like it&#8217;s on their sysadmin team now.
<div> <a rel="nofollow" target="_blank" href="http://twitter.com/home?status=Ruby+On+Rails+SQL+Injection+Flaw+Has+Serious+Real-Life+Consequences%3A+http%3A%2F%2Fbit.ly%2FTL2gZM"><img src="http://a.fsdn.com/sd/twitter_icon_large.png"></a> </div>
<p>&#8230;</p>
<p>Additional reading can be found at the <a rel="nofollow" target="_blank" href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/4jJjYcqA-4M/story01.htm">original author&#8217;s post</a>.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/P0O7N38mRrw" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/ruby-on-rails-sql-injection-flaw-has-serious-real-life-consequences</feedburner:origLink></item>
      <item>
         <title>An Audible Data Privacy Breach</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/IY1DsEPjZKI/an-audible-data-privacy-breach</link>
         <description>This was reposted from Clean Up BlogThisSecurity feed and make it a snipit http://blog.infoadvisors.com/index.php/2013/01/02/an-audible-data-privacy-breach/ written by Karen Lopez. They get all the credit for this, not me.   RI labor dept. warns of possible privacy breach. I think about data encryption, physical access controls to servers and such on a regular basis. But there are [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=135</guid>
         <pubDate>Sun, 06 Jan 2013 19:56:27 +0000</pubDate>
         <content:encoded><![CDATA[<p>This was reposted from Clean Up BlogThisSecurity feed and make it a snipit <a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/02/an-audible-data-privacy-breach/">http://blog.infoadvisors.com/index.php/2013/01/02/an-audible-data-privacy-breach/</a> written by Karen Lopez. They get all the credit for this, not me.</p>
<p> </p>
<p><a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/wordpress/wp-content/uploads/2013/01/image.png"><img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="image" src="http://blog.infoadvisors.com/wordpress/wp-content/uploads/2013/01/image_thumb.png" width="299" height="270"></a></p>
<p><a rel="nofollow" target="_blank" href="http://www.boston.com/news/local/rhode-island/2012/12/31/labor-dept-warns-possible-privacy-breach/qamG0J2dhmhKa3SWf3MQTO/story.html">RI labor dept. warns of possible privacy breach</a>.</p>
<p>I think about data encryption, physical access controls to servers and such on a regular basis. But there are all kinds of formats via which data gets stored or communicated.  The Rhode Island Department of Labor recently had a data breach involving their call center.  Customers were able to hear conversations on other calls.  The department estimates fewer than 700 pe</p>
<p>&#8230;</p>
<p>Additional reading can be found at the <a rel="nofollow" target="_blank" href="http://blog.infoadvisors.com/index.php/2013/01/02/an-audible-data-privacy-breach/">original author&#8217;s post</a>.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/IY1DsEPjZKI" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/an-audible-data-privacy-breach</feedburner:origLink></item>
      <item>
         <title>Are Your Protecting Your DB Backups?</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/QYYWzYPdEFk/are-your-protecting-your-db-backups</link>
         <description>This was reposted from Clean Up BlogThisSecurity feed and make it a snipit http://www.sqlservercentral.com/blogs/brian_kelley/2012/11/27/are-your-protecting-your-db-backups/ written by (author unknown). They get all the credit for this, not me. Folks have cited the recent InformationWeek article on how South Carolina&amp;#8217;s Department of Revenue was hacked because the SC state government basically said, &amp;#8220;It&amp;#8217;s the IRS&amp;#8217; fault for not [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=131</guid>
         <pubDate>Tue, 27 Nov 2012 17:42:59 +0000</pubDate>
         <content:encoded><![CDATA[<p>This was reposted from Clean Up BlogThisSecurity feed and make it a snipit <a rel="nofollow" target="_blank" href="http://www.sqlservercentral.com/blogs/brian_kelley/2012/11/27/are-your-protecting-your-db-backups/">http://www.sqlservercentral.com/blogs/brian_kelley/2012/11/27/are-your-protecting-your-db-backups/</a> written by (author unknown). They get all the credit for this, not me.</p>
<p><img style="margin:5px;float:right;border:0px;" src="http://farm4.staticflickr.com/3548/3333707204_b981a4dd85_n.jpg" alt="tapes by twicepix, on Flickr" width="320" height="240"/>Folks have cited the recent <a rel="nofollow" target="_blank" href="http://www.informationweek.com/security/attacks/how-south-carolina-failed-to-spot-hack-a/240142543">InformationWeek article on how South Carolina&#8217;s Department of Revenue was hacked</a> because the SC state government basically said, &#8220;It&#8217;s the IRS&#8217; fault for not telling us we should encrypt social security numbers.&#8221; I&#8217;m not going to touch that. It stands on its own for its foolishness. However, I did key in on <strong><span style="text-decoration:underline;">how</span></strong> the hack happened and <strong><span style="text-decoration:underline;">how</span></strong> the data was obtained. I found this bit to be particularly interesting:</p>
<p style="padding-left:30px;">&#8220;But with more work, by Sept. 12, 2012, the attacker had successfully located and begun copying 23 database backup files, containing 74.7 GB of data, to another directory. Soon, the attacker compressed the data into 15 zip files, transferred them to another server, sent the data to an external system &#8212; outside the state&#8217;s control &#8212; and deleted the zip files to help hide the data breach, according to Mandiant&#8217;s report.&#8221;</p>
<p>In other words, the attacker, once inside the trusted network, located the database backup files, zipped them up, and then copied them offsite. That&#8217;s how the data was lost. The database backups were attacked.</p>
<p>&#8230;</p>
<p>&nbsp;</p>
<p>Additional reading can be found at the <a rel="nofollow" target="_blank" href="http://www.sqlservercentral.com/blogs/brian_kelley/2012/11/27/are-your-protecting-your-db-backups/">original author&#8217;s post</a>.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/QYYWzYPdEFk" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/are-your-protecting-your-db-backups</feedburner:origLink></item>
      <item>
         <title>Jail Looms For Man Who Revealed AT&amp;T Leaked iPad User E-Mails</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/Vf-0kxAHauI/jail-looms-for-man-who-revealed-att-leaked-ipad-user-e-mails</link>
         <description>This was reposted from Clean Up BlogThisSecurity feed and make it a snipit http://rss.slashdot.org/~r/Slashdot/slashdot/~3/5ifWhOwuT7U/story01.htm written by Soulskill. They get all the credit for this, not me. concealment sends this quote from MIT&amp;#8217;s Technology Review: &amp;#8220;AT&amp;#38;T screwed up in 2010, serving up the e-mail addresses of over 110,000 of its iPad 3G customers online for anyone [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=127</guid>
         <pubDate>Tue, 20 Nov 2012 21:36:08 +0000</pubDate>
         <content:encoded><![CDATA[<p>This was reposted from Clean Up BlogThisSecurity feed and make it a snipit <a rel="nofollow" target="_blank" href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/5ifWhOwuT7U/story01.htm">http://rss.slashdot.org/~r/Slashdot/slashdot/~3/5ifWhOwuT7U/story01.htm</a> written by Soulskill. They get all the credit for this, not me.</p>
<p>concealment sends this quote from MIT&#8217;s Technology Review: &#8220;AT&amp;T screwed up in 2010, serving up the e-mail addresses of over 110,000 of its iPad 3G customers online for anyone to find. But Andrew Auernheimer, an online activist who pointed out AT&amp;T&#8217;s blunder to Gawker Media, which went on to publicize the breach of private information, is the one in federal court this week. Groups like the Electronic Frontier Foundation worry that should that charge succeed it will become easy to criminalize many online activities, including work by well-intentioned activists looking for leaks of private information or other online security holes. [Auernheimer's] case hasn&#8217;t received much attention so far, but should he be found guilty this week it will likely become well known, fast.&#8221;</p>
<div><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=Jail+Looms+For+Man+Who+Revealed+AT%26amp%3BT+Leaked+iPad+User+E-Mails%3A+http%3A%2F%2Fbit.ly%2FS8UiIY"><img src="http://a.fsdn.com/sd/twitter_icon_large.png" alt=""/></a> <a rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fyro.slashdot.org%2Fstory%2F12%2F11%2F20%2F2040207%2Fjail-looms-for-man-who-revealed-att-leaked-ipad-user-e-mails%3Futm_source%3Dslashdot%26utm_medium%3Dfacebook"><img src="http://a.fsdn.com/sd/facebook_icon_large.png" alt=""/></a> <a rel="nofollow" target="_blank" href="http://plus.google.com/share?url=http://yro.slashdot.org/story/12/11/20/2040207/jail-looms-for-man-who-revealed-att-leaked-ipad-user-e-mails?utm_source=slashdot&amp;utm_medium=googleplus"><img src="http://www.gstatic.com/images/icons/gplus-16.png" alt="Share on Google+"/></a></div>
<p><a rel="nofollow" target="_blank" href="http://yro.slashdot.org/story/12/11/20/2040207/jail-looms-for-man-who-revealed-att-leaked-ipad-user-e-mails?utm_source=rss1.0moreanon&amp;utm_medium=feed">Read more of this story</a> at Slashdot.</p>
<p><img src="http://slashdot.feedsportal.com/c/35028/f/647410/s/25c985e6/mf.gif" alt="" width="1" height="1" border="0"/></p>
<p><a rel="nofollow" target="_blank" href="http://da.feedsportal.com/r/151029380649/u/49/f/647410/c/35028/s/25c985e6/a2.htm"><img src="http://da.feedsportal.com/r/151029380649/u/49/f/647410/c/35028/s/25c985e6/a2.img" alt="" border="0"/></a><img src="http://pi.feedsportal.com/r/151029380649/u/49/f/647410/c/35028/s/25c985e6/a2t.img" alt="" width="1" height="1" border="0"/><img src="http://feeds.feedburner.com/~r/Slashdot/slashdot/~4/5ifWhOwuT7U" alt="" width="1" height="1"/></p>
<p>Additional reading can be found at the <a rel="nofollow" target="_blank" href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/5ifWhOwuT7U/story01.htm">original author&#8217;s post</a>.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/Vf-0kxAHauI" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/jail-looms-for-man-who-revealed-att-leaked-ipad-user-e-mails</feedburner:origLink></item>
      <item>
         <title>Second Edition of Securing SQL Server now longer available for pre-order. It’s Shipping!</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/NbJSh9_60q4/second-edition-of-securing-sql-server-now-longer-available-for-pre-order-its-shipping</link>
         <description>I&amp;#8217;m afraid that I&amp;#8217;ve got some bad news.  You can no longer pre-order Securing SQL Server 2nd Edition from Amazon. Instead you have to settle for ordering the book outright and having it shipped to you.  That&amp;#8217;s right, no more being a pre-order book, it&amp;#8217;s published and available to be shipped directly to you.  Currently Amazon is [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=120</guid>
         <pubDate>Wed, 08 Aug 2012 22:59:12 +0000</pubDate>
         <content:encoded><![CDATA[<p>I&#8217;m afraid that I&#8217;ve got some bad news.  You can no longer pre-order <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471&amp;linkCode=as2&amp;tag=sesqse-20">Securing SQL Server 2nd Edition</a> from Amazon.</p>
<p>Instead you have to settle for <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471&amp;linkCode=as2&amp;tag=sesqse-20">ordering the book outright </a>and having it shipped to you.  That&#8217;s right, no more being a pre-order book, it&#8217;s published and available to be shipped directly to you.  Currently Amazon is selling the book at full price which is $49.95, but if you have Amazon Prime it is available for Amazon Prime shipping.  Because it is considered to be a text book you get a $5 Amazon MP3 Credit (what ever terms and conditions that Amazon chooses do apply).</p>
<p>This is a totally <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471&amp;linkCode=as2&amp;tag=sesqse-20">updated edition</a> of the book including all sorts of new information about security within SQL Server 2012.  I of course cover things like how to secure AlwaysOn Availability Groups, how to use user defined server roles, contained users, etc. I also dive into how to properly secure SQL Server Reporting Services and SQL Server Analysis Services so they can&#8217;t be used to access data that people shouldn&#8217;t have access to.</p>
<p>All in all this book is much larger with Amazon showing it at 408 pages compared to just 272 pages for the 1st edition.  If you find someone cheaper to purchase it make sure that you are in fact ordering the second edition.  The ISBN number is <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471&amp;linkCode=as2&amp;tag=sesqse-20">1597499471</a>.</p>
<p>I hope that you pick up a copy of the book and that it is useful for you in securing your SQL Server environment.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/NbJSh9_60q4" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/second-edition-of-securing-sql-server-now-longer-available-for-pre-order-its-shipping</feedburner:origLink></item>
      <item>
         <title>Kindle Version of Securing SQL Server 2nd Edition Is Available</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/iUOsUwqMVWQ/kindle-version-of-securing-sql-server-2nd-edition-is-available</link>
         <description>In true Amazon style the Kindle Edition of Securing SQL Server 2nd Edition is available for purchase from Amazon before the physical print book is available.  I haven&amp;#8217;t even gotten my preview copy yet (it should be here in a day or two) but you can get your digital copy from Amazon as of about [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=115</guid>
         <pubDate>Mon, 06 Aug 2012 16:00:22 +0000</pubDate>
         <content:encoded><![CDATA[<p>In true Amazon style the<a rel="nofollow"> Kindle Edition of Securing SQL Server 2nd Edition </a>is available for purchase from Amazon before the physical print book is available.  I haven&#8217;t even gotten my preview copy yet (it should be here in a day or two) but you can get your digital copy from Amazon as of about a week ago.</p>
<p>So if you&#8217;ve been waiting for the 2nd edition to come out, there&#8217;s no need to wait any longer.</p>
<p>If you want that <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471&amp;linkCode=as2&amp;tag=sesqse-20">physical book</a> you can pre-order it, and hopefully it&#8217;ll be shipping within just a couple of weeks.  Amazon has August 15th listed on the US website, but I&#8217;m not sure if that is the actual date or not.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/iUOsUwqMVWQ" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/kindle-version-of-securing-sql-server-2nd-edition-is-available</feedburner:origLink></item>
      <item>
         <title>Securing SQL Server 2nd Edition Coming Soon</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/ex6aa2qltho/securing-sql-server-2nd-edition-coming-soon</link>
         <description>I&amp;#8217;m pleased to be able to announce that the 2nd edition of Securing SQL Server is going to be available soon.  It&amp;#8217;s just been made available for pre-order on Amazon.com.  The second edition comes in at about 350 pages (according to Amazon, I don&amp;#8217;t actually have a copy of it yet) while the first edition [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=108</guid>
         <pubDate>Tue, 24 Apr 2012 21:13:59 +0000</pubDate>
         <content:encoded><![CDATA[<p>I&#8217;m pleased to be able to announce that the <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;tag=sesqse-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471">2nd edition of Securing SQL Server </a>is going to be available soon.  It&#8217;s just been made available for <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;tag=sesqse-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471">pre-order on Amazon.com</a>.  The second edition comes in at about 350 pages (according to Amazon, I don&#8217;t actually have a copy of it yet) while the first edition came in at about 270 pages so there has been a LOT of material added to the book.</p>
<p>While a lot of the new information is focused on SQL Server 2012, there is also a lot of new material which relates to older version of SQL Server including chapters on SQL Server Analysis Services and SQL Server Reporting Services, information on Instant File Initialization, EXECUTE AS, Database Firewalls, SAN Security, Actual Data Security (no idea how this got missed the first time around, but that&#8217;s to Brent Ozar for pointing it out).</p>
<p>As far as the SQL Server 2012 information you&#8217;ll find updated information about the SHA2 hashing algorithms, Securing AlwaysOn Availability Groups, Security and SQL Server Clustering, Security and Contained Databases and a lot more.</p>
<p>If you already have a copy of the 1st edition I encourage you to take a look at the second edition as well.  I know that it&#8217;s really soon for a second edition of a book (the first edition just came out February 2011, but this new edition comes on the release of SQL Server 2012.</p>
<p>Hopefully you <a rel="nofollow" target="_blank" href="http://www.amazon.com/gp/product/1597499471/ref=as_li_ss_tl?ie=UTF8&amp;tag=sesqse-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1597499471">pre-order</a> you copy today.</p>
<p>Denny</p>
<p>P.S. Yes this edition will be available for the Kindle as well, that takes a little time.  As soon as I know that it&#8217;s been posted for the Kindle (usually happens a little after Amazon gets the physical books) I&#8217;ll post another announcement here.</p>
<p>P.P.S. If you visit my <a rel="nofollow" target="_blank" href="http://www.securingsqlserver.com">SecuringSQLServer.com</a> site I&#8217;ve updated everything there for the new edition.  You can always find the old edition listed on the <a rel="nofollow" title="Other Books" target="_blank" href="http://securingsqlserver.com/other-books">Other Books</a> page on that site or on the <a rel="nofollow" target="_blank" href="http://mrdenny.com/books">Books </a>page on <a rel="nofollow" target="_blank" href="http://www.mrdenny.com">mrdenny.com</a>.</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/ex6aa2qltho" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/securing-sql-server-2nd-edition-coming-soon</feedburner:origLink></item>
      <item>
         <title>180k+ websites attacked because of bad dev code</title>
         <link>http://feedproxy.google.com/~r/SqlServerWithMrDenny/~3/UKUsloRFAoc/180k-websites-attacked-because-of-bad-dev-code</link>
         <description>There is another massive SQL Injection attack going around. This time hitting 180k ASP.NET websites.  The article which I referenced has a decent write up on the actual attack and it links to a post which has detailed information about the attack.  However the article on IT World gives some really poor advice on how [...]</description>
         <guid isPermaLink="false">http://securingsqlserver.com/?p=95</guid>
         <pubDate>Mon, 24 Oct 2011 21:36:46 +0000</pubDate>
         <content:encoded><![CDATA[<p>There is <a rel="nofollow" target="_blank" href="http://www.itworld.com/security/216125/powerful-simple-new-mass-sql-injection-attack-opens-180k-sites">another massive</a> SQL Injection attack going around. This time hitting 180k ASP.NET websites.  The article which I referenced has a decent write up on the actual attack and it links to a post which has detailed information about the <a rel="nofollow" target="_blank" href="http://snipt.net/armorize/decoded-httpjjghuicomurchinjs-mass-infection-script?key=7bcd613f2e43bb7fb4b53badc85c70ed">attack</a>.  However the article on IT World gives some really poor advice on how to protect yourself from a SQL Injection attack.</p>
<blockquote><p>There&#8217;s no easy way to fix the vulnerability of the database to this attack except to &#8220;harden&#8221; the database by applying all the patches and making all the security requirements consistent. Monitoring the database for unusual activity is important, too.</p></blockquote>
<p>Patching SQL Server will NOT prevent SQL Injection attack, at all.  The SQL Server isn&#8217;t the attack vector for a SQL Injection attack, the web application is the attack vector.  By the time the SQL Injection attack gets to the SQL Server database (or any database) it&#8217;s too late.</p>
<p>SQL Injection is actually really easy to protect yourself from.  Simply stop using dynamically generated SQL  and instead start using parametrized queries (also called bound queries).  That&#8217;s it, that&#8217;s the big secret.  Yes I understand that writing your .NET code as parametrized queries is harder to write than just doing string concatenation and running the query, but getting your site attacked and putting malware on your customers computers because you didn&#8217;t want to do a little typing is just no excuse.</p>
<p>As this is a blog about my book &#8220;<a rel="nofollow" target="_blank" href="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=sesqse-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=B004JHY9NE">Securing SQL Server</a>&#8221; here&#8217;s the sales pitch.  In the book I talk all about how to use parametrized queries.  It really isn&#8217;t that hard there is lots of sample code on how to do it.  You don&#8217;t need to use stored procedures to use parametrized queries.  You can do it with normal dynamic SQL as well, it works basically the same.</p>
<p>In case you didn&#8217;t get my point yet, parametrized queries are the ONLY WAY that you can 100% be sure that you are protecting yourself from SQL Injection attacks.  If you can&#8217;t find some links on how to use parametrized queries here are a few links for you <a rel="nofollow" target="_blank" href="http://blogs.msdn.com/b/sqlphp/archive/2008/09/30/how-and-why-to-use-parameterized-queries.aspx">PHP</a>, <a rel="nofollow" target="_blank" href="http://www.4guysfromrolla.com/webtech/092601-1.shtml">.NET</a>, and <a rel="nofollow" target="_blank" href="http://msdn.microsoft.com/en-us/magazine/cc163917.aspx">more .NET</a>.</p>
<p>Denny</p><img src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/UKUsloRFAoc" height="1" width="1"/>]]></content:encoded>
      <feedburner:origLink>http://securingsqlserver.com/180k-websites-attacked-because-of-bad-dev-code</feedburner:origLink></item>
   </channel>
</rss><!-- fe4.yql.bf1.yahoo.com compressed/chunked Wed Jun 19 19:20:25 UTC 2013 -->
