<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Voice of the DBA</title>
	<atom:link href="https://voiceofthedba.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://voiceofthedba.wordpress.com</link>
	<description>Writings from the Voice of the DBA</description>
	<lastBuildDate>Fri, 24 Feb 2012 17:47:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='voiceofthedba.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s-ssl.wordpress.com/i/buttonw-com.png</url>
		<title>Voice of the DBA</title>
		<link>https://voiceofthedba.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://voiceofthedba.wordpress.com/osd.xml" title="Voice of the DBA" />
	<atom:link rel='hub' href='https://voiceofthedba.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A Break from Databases</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/24/a-break-from-databases/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/24/a-break-from-databases/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 17:43:20 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Editorial]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://voiceofthedba.wordpress.com/?p=3492</guid>
		<description><![CDATA[Last weekend I was all alone Sunday night. Monday was a holiday for me, my wife and kids were out of town, and it was too quiet in the house, so I decided to go see a movie. Safe House was my choice, and it was one I enjoyed during a two hour break from life. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3492&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_3493" class="wp-caption alignright" style="width: 205px"><a href="http://oscar.go.com/"><img class="size-medium wp-image-3493" title="220px-Oscar_statuette" src="http://voiceofthedba.files.wordpress.com/2012/02/220px-oscar_statuette.jpg?w=195&#038;h=300" alt="" width="195" height="300" /></a><p class="wp-caption-text">What do you recommend from Oscar season? I&#039;ll say The Descendents</p></div>
<p>Last weekend I was all alone Sunday night. Monday was a holiday for me, my wife and kids were out of town, and it was too quiet in the house, so I decided to go see a movie. <a href="http://www.imdb.com/title/tt1599348/">Safe House</a> was my choice, and it was one I enjoyed during a two hour break from life. I don&#8217;t go see too many movies a year, outside of the kid-related ones, but this was fun.</p>
<p>This Sunday the <a href="http://oscar.go.com/">84th Annual Academy Awards</a> take place, and while I won&#8217;t be watching them, it&#8217;s always interesting to me to see which movies and people win awards. A winning actor or actress might entice me to go see a future movie that ordinarily wouldn&#8217;t capture my interest. It&#8217;s always nice to see talented people working their craft, at least to me.</p>
<p>We tend to work hard in Information Technology, and it&#8217;s nice to get a break. With that in mind, I thought we might take a break this Friday from talking about work, and talk about leisure. The poll this week is:</p>
<h3>Which movies from the 2011/2012 Oscar season would you recommend?</h3>
<p>These don&#8217;t have to be movies that are up for awards, just anything released from last February until now. What did you like, or what would you recommend the rest of us avoid? Let us know this Friday which films might provide a nice escape from the pressures and stress of reality.</p>
<p>Steve Jones</p>
<hr />
<h3>The Voice of the DBA Podcasts</h3>
<p>We publish three versions of the podcast each day for you to enjoy.</p>
<ul>
<li>Watch the <a href="http://m.podshow.com/media/16929/episodes/311189/sqlservercentralwmv-311189-02-23-2012.wmv">Windows Media Podcast</a> - 20.0MB WMV <a href="http://feeds.feedburner.com/SqlservercentralcomArticlesTaggedEditorial-Wmv"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
<li>Watch the <a href="http://m.podshow.com/media/15351/episodes/311186/sqlservercentral-311186-02-23-2012.mp4">iPod Video Podcast</a> - 16.6MB MP4 <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=268045050"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
<li>Watch the <a href="http://m.podshow.com/media/16930/episodes/311185/sqlservercentralmp3-311185-02-23-2012.mp3">MP3 Audio Podcast</a> - 3.4MB MP3 <a href="http://feeds.feedburner.com/sqlservercentral/sKij"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
</ul>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/editorial/'>Editorial</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/misc-2/'>misc</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3492/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3492&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/24/a-break-from-databases/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://m.podshow.com/media/16929/episodes/311189/sqlservercentralwmv-311189-02-23-2012.wmv" length="20438467" type="video/asf" />
<enclosure url="http://m.podshow.com/media/15351/episodes/311186/sqlservercentral-311186-02-23-2012.mp4" length="16977786" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/15351/episodes/311186/sqlservercentral-311186-02-23-2012.mp4" length="16977786" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/15351/episodes/311186/sqlservercentral-311186-02-23-2012.mp4" length="16977786" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/16930/episodes/311185/sqlservercentralmp3-311185-02-23-2012.mp3" length="3473408" type="audio/mpeg" />
<enclosure url="http://m.podshow.com/media/16930/episodes/311185/sqlservercentralmp3-311185-02-23-2012.mp3" length="3473408" type="audio/mpeg" />
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/02/220px-oscar_statuette.jpg?w=195" medium="image">
			<media:title type="html">220px-Oscar_statuette</media:title>
		</media:content>

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />
	</item>
		<item>
		<title>No MVP Summit for Me</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/24/no-mvp-summit-for-me/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/24/no-mvp-summit-for-me/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 14:16:00 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[mvp]]></category>
		<category><![CDATA[syndicated]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">https://voiceofthedba.wordpress.com/?p=3501</guid>
		<description><![CDATA[On the corner of my rather messy desk is little recognition item in the image to the right. It’s a 5 year marker, representing my 5 years as a Microsoft MVP. I’m honored that they think I’m doing enough for the community to be recognized. Next week is the annual MVP Summit in Redmond, where [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3501&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://voiceofthedba.files.wordpress.com/2012/02/photo-feb-23-5-11-56-pm.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;float:right;border-top:0;border-right:0;padding-top:0;" title="Photo Feb 23, 5 11 56 PM" border="0" alt="Photo Feb 23, 5 11 56 PM" align="right" src="http://voiceofthedba.files.wordpress.com/2012/02/photo-feb-23-5-11-56-pm_thumb.jpg?w=183&#038;h=244" width="183" height="244" /></a>On the corner of my rather messy desk is little recognition item in the image to the right. It’s a 5 year marker, representing my 5 years as a Microsoft MVP. I’m honored that they think I’m doing enough for the community to be recognized.</p>
<p>Next week is the annual MVP Summit in Redmond, where MVPs from all over the world get together and have a chance to see advance presentations from Microsoft developers, and get the chance to get to know each other, and the staff at Microsoft. </p>
<p>From past experience, it can be a lot of fun, and it’s a good time to network and bond. The presentations can be hit or miss, but overall it’s been an enjoyable experience when I’ve gone (3 times). I’ve learned things, and getting to know someone on the SQL Server team face to face is invaluable. Those contacts have been helpful when trying to work with Microsoft or get more information about topics that I present to the community.</p>
<p>I’m not going this year, and a little disappointed in that. Despite the fact that it’s a good experience, it’s not worth the time to me right now. My wife has been traveling almost every week this year (12 trips so far) and I miss her. Travel for work is stressful, even when you’re not the one traveling, and it feels very chaotic at the ranch.</p>
<p>I’ve also got a lot of prep still to do for future presentations coming up at <a href="http://www.devconnections.com/conf/default.aspx?s=185">Dev Connections</a>, <a href="http://sqlinthecity.red-gate.com/">SQL in the City</a>, and more. I’ve still got more to learn about SQL Server 2012, and time is getting short.</p>
<p>I’ll miss seeing friends in Redmond, but I don’t regret not going. Even if I had the time, I would have skipped the Summit in favor of a week with <a href="http://www.sqlskills.com/ImmersionEventsSchedule.asp">SQL Skills in Tampa</a>. I know I’d learn more, and definitely would prefer the weather there.</p>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/blog/'>Blog</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/mvp/'>mvp</a>, <a href='https://voiceofthedba.wordpress.com/tag/syndicated/'>syndicated</a>, <a href='https://voiceofthedba.wordpress.com/tag/travel/'>travel</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3501&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/24/no-mvp-summit-for-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/02/photo-feb-23-5-11-56-pm_thumb.jpg" medium="image">
			<media:title type="html">Photo Feb 23, 5 11 56 PM</media:title>
		</media:content>
	</item>
		<item>
		<title>Future Virtual Machines</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/23/future-virtual-machines/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/23/future-virtual-machines/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 17:04:46 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Editorial]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://voiceofthedba.wordpress.com/?p=3488</guid>
		<description><![CDATA[I recently virtualized my Windows Home Server. I have had multiple boot drive failures, and I was getting tired of reinstalling the product. So I installed VirtualBox, then created a series of virtual disk drives and set my home server back up. It&#8217;s built on RAID 1 drives, so I&#8217;m hoping that it will last a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3488&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_3489" class="wp-caption alignright" style="width: 310px"><a href="http://www.flickr.com/photos/jumpingshark/2034853764/"><img class="size-medium wp-image-3489" title="virtualmadness" src="http://voiceofthedba.files.wordpress.com/2012/02/virtualmadness.jpg?w=300&#038;h=145" alt="" width="300" height="145" /></a><p class="wp-caption-text">Vritualization madness can be very handy</p></div>
<p>I recently virtualized my Windows Home Server. I have had multiple boot drive failures, and I was getting tired of reinstalling the product. So I installed <a href="https://www.virtualbox.org/">VirtualBox</a>, then created a series of virtual disk drives and set my home server back up. It&#8217;s built on RAID 1 drives, so I&#8217;m hoping that it will last a long time, and even migrate to newer hardware over time.</p>
<p>On my laptop and desktop, I use <a href="http://www.vmware.com/">VMWare</a> to build test machines, and then use them for various versions of SQL Server in presentations. I can easily make changes in a VM on the desktop, copy the VHD files to my laptop, and then have the same environment ready when I deliver a presentation. Over the last ten years, virtualization has become a fantastic test environment for me and I can&#8217;t imagine doing without it. On the server side, I haven&#8217;t even noticed the migration of the SQLServerCentral servers from physical hosts to virtual machines, and they have performed very well.</p>
<p>However in one sense, nothing has changed for me on the server side. Our VMs are over provisioned, to prevent issues with the performance, just as they often were with physical machines. I suspect that is the case with many other virtual SQL Servers out there in production. However I&#8217;m not sure it&#8217;s a bad way to deploy VMs for a database server, especially with hardware so cheap.</p>
<p>I ran across a series of reports on the <a href="http://www.networkworld.com/news/2012/020312-insider-hypervisors-255717.html">hypervisors of the future</a>, which talks about the changes from the various vendors, and has a large section devoted to desktop hypervisors. It&#8217;s an interesting read, though quite a bit of the information is related to open source products. On the Windows 8 front, <a href="http://www.infoworld.com/d/microsoft-windows/why-hyper-v-in-windows-8-server-could-finally-beat-vmware-177727">the Hyper-V changes</a> look good, but I worry that licensing might prevent most of us from taking advantage of the enhancements.</p>
<p>I find virtualization to be an amazing way to get more work done on a desktop, in a very stable manner. I can test software in a VM and then remove it, or delete the host if the software causes issues. I can also simulate a large amount of hardware with much less effort than in the past. I urge you to try some virtualization software and experiment with the capabilities. Whether you build experience by working with software you can&#8217;t install elsewhere, or just learn some of the capabilities of the virtualization software, it will help you at some point in your career. I only expect there to be more and more VM deployment in all companies over the next decade.</p>
<p>Steve Jones</p>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/editorial/'>Editorial</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/virtualization-2/'>virtualization</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3488/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3488&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/23/future-virtual-machines/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/02/virtualmadness.jpg?w=300" medium="image">
			<media:title type="html">virtualmadness</media:title>
		</media:content>
	</item>
		<item>
		<title>Checking Your Service Account with T-SQL</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/22/checking-your-service-account-with-t-sql/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/22/checking-your-service-account-with-t-sql/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 20:47:00 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[syndicated]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">https://voiceofthedba.wordpress.com/?p=3454</guid>
		<description><![CDATA[Somehow this slipped by me, but there were some new DMVs added in SQL Server 2008 R2 SP1. I suspect my test machines were mostly SQL Server 2008 or SQL Server 2012, and I hadn’t been paying attention to the changes in SP1. You can now use T-SQL to check for services information, as well [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3454&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Somehow this slipped by me, but there were some new DMVs added in SQL Server 2008 R2 SP1. I suspect my test machines were mostly SQL Server 2008 or SQL Server 2012, and I hadn’t been paying attention to the changes in SP1.</p>
<p>You can now use T-SQL to check for services information, as well as registry information, without using extended stored procedures or any hacks of xp_cmdshell. There are two new DMVs:</p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/hh204561.aspx">sys.dm_server_registry</a> </li>
<li><a href="http://msdn.microsoft.com/en-us/library/hh204542.aspx">sys.dm_server_services</a></li>
</ul>
<p>These were not present in the RTM of SQL Server 2008 R2, but after installing SP1, they appear. The <a href="http://support.microsoft.com/kb/2528583">KB article for SQL Server 2008 R2 SP1</a> includes a note that new trace templates for Profiler are included, but I did not see a note about these two DMVs.</p>
<p>So much for not adding features in Service Packs.</p>
<p>In any case, you can query the sys.dm_server_services for service account information. You will get the service name, the startup type, the account, and more.</p>
<p>If you aren’t a Windows administrator on your SQL Server boxes, you should still be able to get information regarding the services from this DMV as long as you have VIEW SERVER STATE permission.</p>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/blog/'>Blog</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/administration/'>administration</a>, <a href='https://voiceofthedba.wordpress.com/tag/sql-server/'>sql server</a>, <a href='https://voiceofthedba.wordpress.com/tag/syndicated/'>syndicated</a>, <a href='https://voiceofthedba.wordpress.com/tag/t-sql/'>T-SQL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3454&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/22/checking-your-service-account-with-t-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>
	</item>
		<item>
		<title>Accept Failure</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/22/accept-failure/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/22/accept-failure/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 16:41:13 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Editorial]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://voiceofthedba.wordpress.com/?p=3484</guid>
		<description><![CDATA[We don&#8217;t expect ourselves to be perfect, do we? Is there ever any project you tackle that you might not complete? Is there a doubt that it might not work as expected, or that it may need substantial rework? I think that the vast majority of projects I undertake have some level of risk involved, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3484&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_3485" class="wp-caption alignright" style="width: 262px"><a href="http://www.flickr.com/photos/4rilla/4638168164/"><img class="size-full wp-image-3485" title="failure" src="http://voiceofthedba.files.wordpress.com/2012/02/failure.jpg?w=497" alt=""   /></a><p class="wp-caption-text">Failure is sometimes an option</p></div>
<p>We don&#8217;t expect ourselves to be perfect, do we? Is there ever any project you tackle that you might not complete? Is there a doubt that it might not work as expected, or that it may need substantial rework? I think that the vast majority of projects I undertake have some level of risk involved, and while I might understand that, I&#8217;m not sure I ever believe I will ever fail.</p>
<p>Most things that I&#8217;ve built in technology don&#8217;t work the first time, and in fact, I expect that. I have learned from mistakes, corrected the problems, and usually finished them with some level of success. That&#8217;s the way that so many of us in technology approach our jobs. We start building, find issues, and then fix them.</p>
<p>However you cannot every eliminate the risk that something will fail. There are times we need to abandon the project or abandon the work done and rebuild the software from scratch. Those failures should be learning opportunities, and should allow developers to improve their work. From my perspective it seems that too many managers, however, view failures as events that have to be avoided. Perfection and success are the only possible outcomes that are acceptable. One slip up and you may get fired.</p>
<p>It seems that&#8217;s what managers think about their career, so they continue to push down dead end roads, and throw more resources at a project to recover some small level of success.</p>
<p>We will always make mistakes. The true failure should come from failing to learn from the mistakes and improving your future work. If management cannot tolerate these setbacks, this problems, and allow for them, then the work will not only continue to be substandard, but people will spend more time worrying about avoiding blame than actually looking to improve their skills.</p>
<p>I can&#8217;t tell you when work should be abandoned, or a project is hopeless, but every project ought to be examined periodically for this situation, especially when it is apparent that it is in trouble. You can&#8217;t save all projects, but you can learn to let some of them go, or change the situation, before it becomes a bigger problem than it is.</p>
<p>Steve Jones</p>
<hr />
<h3>The Voice of the DBA Podcasts</h3>
<p>We publish three versions of the podcast each day for you to enjoy.</p>
<ul>
<li>Watch the <a href="http://m.podshow.com/media/16929/episodes/311079/sqlservercentralwmv-311079-02-21-2012.wmv">Windows Media Podcast</a> - 21.4MB WMV <a href="http://feeds.feedburner.com/SqlservercentralcomArticlesTaggedEditorial-Wmv"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
<li>Watch the <a href="http://m.podshow.com/media/15351/episodes/311080/sqlservercentral-311080-02-21-2012.mp4">iPod Video Podcast</a> - 19.7MB MP4 <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=268045050"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
<li>Watch the <a href="http://m.podshow.com/media/16930/episodes/311086/sqlservercentralmp3-311086-02-21-2012.mp3">MP3 Audio Podcast</a> - 4.0MB MP3 <a href="http://feeds.feedburner.com/sqlservercentral/sKij"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
</ul>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/editorial/'>Editorial</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/software-development/'>software development</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3484&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/22/accept-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://m.podshow.com/media/16929/episodes/311079/sqlservercentralwmv-311079-02-21-2012.wmv" length="21920943" type="video/asf" />
<enclosure url="http://m.podshow.com/media/16929/episodes/311079/sqlservercentralwmv-311079-02-21-2012.wmv" length="21920943" type="video/asf" />
<enclosure url="http://m.podshow.com/media/16929/episodes/311079/sqlservercentralwmv-311079-02-21-2012.wmv" length="21920943" type="video/asf" />
<enclosure url="http://m.podshow.com/media/15351/episodes/311080/sqlservercentral-311080-02-21-2012.mp4" length="20159871" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/15351/episodes/311080/sqlservercentral-311080-02-21-2012.mp4" length="20159871" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/16930/episodes/311086/sqlservercentralmp3-311086-02-21-2012.mp3" length="4063977" type="audio/mpeg" />
<enclosure url="http://m.podshow.com/media/16930/episodes/311086/sqlservercentralmp3-311086-02-21-2012.mp3" length="4063977" type="audio/mpeg" />
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/02/failure.jpg" medium="image">
			<media:title type="html">failure</media:title>
		</media:content>

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />
	</item>
		<item>
		<title>Where&#8217;s My Backup? SQL Server Backup Issues</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/21/wheres-my-backup-sql-server-backup-issues/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/21/wheres-my-backup-sql-server-backup-issues/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 18:43:00 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Backup/Recovery]]></category>
		<category><![CDATA[syndicated]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">https://voiceofthedba.wordpress.com/?p=3359</guid>
		<description><![CDATA[You can cause yourself problems if you don’t know where your backups are stored, and how they are being made. It also helps to understand the defaults of how your backups are created in files. Here’s a short story to illustrate an issue you might encounter as a beginner if you are not clear about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3359&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can cause yourself problems if you don’t know where your backups are stored, and how they are being made. It also helps to understand the defaults of how your backups are created in files. </p>
<p>Here’s a short story to illustrate an issue you might encounter as a beginner if you are not clear about the backup process.</p>
<p>Let’s say you’re a junior DBA, and you create a database. </p>
<pre class="code"><span style="color:blue;">CREATE DATABASE </span>BackupRestoreTest
<span style="color:blue;">go
CREATE TABLE </span>MyTable<span style="color:gray;">( </span>mychar <span style="color:blue;">CHAR</span><span style="color:gray;">(</span>1<span style="color:gray;">), </span>mytest <span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span>200<span style="color:gray;">))
</span><span style="color:blue;">go</span></pre>
<p>You know that backups are important, so you setup a basic command like the first one below, schedule it in SQL Agent, and you have backups being performed. In between the backups, work is being done. Probably more than one INSERT, but this is just to show something is happening in the database.</p>
<pre class="code"><span style="color:green;">-- schedule backup
</span><span style="color:blue;">BACKUP DATABASE </span>BackupRestoreTest
  <span style="color:blue;">TO DISK </span><span style="color:gray;">= </span><span style="color:red;">'MyBackup.bak'
</span><span style="color:blue;">GO

</span><span style="color:green;">-- do work
</span><span style="color:blue;">insert </span>dbo<span style="color:gray;">.</span>mytable <span style="color:blue;">SELECT </span><span style="color:red;">'a'</span><span style="color:gray;">, </span><span style="color:red;">'b'
</span><span style="color:blue;">GO

</span><span style="color:green;">-- backup database
</span><span style="color:blue;">BACKUP DATABASE </span>BackupRestoreTest
  <span style="color:blue;">TO DISK </span><span style="color:gray;">= </span><span style="color:red;">'MyBackup.bak'
</span><span style="color:blue;">GO
</span></pre>
<p>This continues on, day after day. Work gets done, you run your nightly backups. </p>
<pre class="code"><span style="color:green;">-- do work
</span><span style="color:blue;">insert </span>dbo<span style="color:gray;">.</span>mytable <span style="color:blue;">SELECT </span><span style="color:red;">'c'</span><span style="color:gray;">, </span><span style="color:red;">'d'
</span><span style="color:blue;">GO

</span><span style="color:green;">-- nightly backup
</span><span style="color:blue;">BACKUP DATABASE </span>BackupRestoreTest
  <span style="color:blue;">TO DISK </span><span style="color:gray;">= </span><span style="color:red;">'MyBackup.bak'
</span><span style="color:blue;">GO

</span><span style="color:green;">-- do work
</span><span style="color:blue;">insert </span>dbo<span style="color:gray;">.</span>mytable <span style="color:blue;">SELECT </span><span style="color:red;">'e'</span><span style="color:gray;">, </span><span style="color:red;">'f'
</span><span style="color:green;">-- mistake is made
</span><span style="color:blue;">DELETE </span>dbo<span style="color:gray;">.</span>mytable
<span style="color:green;">-- more work
</span><span style="color:blue;">insert </span>dbo<span style="color:gray;">.</span>mytable <span style="color:blue;">SELECT </span><span style="color:red;">'g'</span><span style="color:gray;">, </span><span style="color:red;">'h'
</span><span style="color:blue;">GO

</span><span style="color:green;">-- nightly backup
</span><span style="color:blue;">BACKUP DATABASE </span>BackupRestoreTest
  <span style="color:blue;">TO DISK </span><span style="color:gray;">= </span><span style="color:red;">'MyBackup.bak'
</span><span style="color:blue;">GO</span></pre>
<p>Then one day, someone runs this and calls you:</p>
<pre class="code"><span style="color:green;">-- mistake noticed
</span><span style="color:blue;">SELECT </span>MyChar <span style="color:blue;">FROM </span>dbo<span style="color:gray;">.</span>mytable
<span style="color:blue;">GO</span></pre>
<p>Only the row with “g” is returned from this. The user asks about all the other data. Where are the rows with “a”, “c”, and “e”?</p>
<p>You decide to restore. </p>
<pre class="code"><span style="color:green;">-- restore, use good habits. NORECOVERY always.
</span><span style="color:blue;">USE master
GO
RESTORE DATABASE </span>BackupRestoreTest
  <span style="color:blue;">FROM DISK </span><span style="color:gray;">= </span><span style="color:red;">'MyBackup.bak'
  </span><span style="color:blue;">WITH NORECOVERY
  </span><span style="color:gray;">, </span><span style="color:magenta;">REPLACE
</span><span style="color:blue;">GO

</span><span style="color:green;">-- bring online
</span><span style="color:blue;">RESTORE DATABASE </span>BackupRestoreTest
  <span style="color:blue;">WITH recovery
go
</span></pre>
<p>You check the data and you get this:</p>
<pre class="code"><span style="color:green;">-- check data
</span><span style="color:blue;">USE </span>BackupRestoreTest
<span style="color:blue;">GO
SELECT </span>MyChar <span style="color:blue;">FROM </span>dbo<span style="color:gray;">.</span>mytable
<span style="color:blue;">GO</span></pre>
<p>The results?</p>
<p><font face="Courier New">MyChar</font></p>
<p><font face="Courier New">&#8212;&#8212;&#8212;&#8211;</font></p>
<p>&#160;</p>
<p>Nothing. No data. Why not? If you look, you’re last insert (row “g”) occurs after the delete and before the backup. Why isn’t it in the restore?</p>
<p>The answer comes from a few sources. If we read the <a href="http://msdn.microsoft.com/en-us/library/ms186865.aspx">BACKUP page in Books Online</a> (BOL), we find that if we don’t include the INIT option for a disk file, the backup is appended to the current file. The phrase in BOL is:</p>
<p><em>“If the physical device exists and the INIT option is not specified in the BACKUP statement, the backup is appended to the device. ”</em></p>
<p>If we look at the INIT argument, we see that the default is NOINIT</p>
<p><em>“NOINTI &#8211; Indicates that the backup set is appended to the specified media set, preserving existing backup sets. If a media password is defined for the media set, the password must be supplied. NOINIT is the default.”</em></p>
<p>This means that we’ve essentially done this:</p>
<p><a href="http://voiceofthedba.files.wordpress.com/2012/01/backup3.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="backup3" border="0" alt="backup3" src="http://voiceofthedba.files.wordpress.com/2012/01/backup3_thumb.jpg?w=462&#038;h=130" width="462" height="130" /></a></p>
<p>Our one file, MyBackup.bak, contains 4 full backup files. This file is larger than it needs to be, and also it poses a risk. If I lose this file, I don’t lose one backup, but I lose 4.</p>
<p>Can I check this? Sure. Run this:</p>
<pre class="code"><span style="color:blue;">RESTORE HEADERONLY FROM DISK </span><span style="color:gray;">= </span><span style="color:red;">'MyBackup.bak'
</span></pre>
<p>I get these results:</p>
<p><a href="http://voiceofthedba.files.wordpress.com/2012/01/backup4.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="backup4" border="0" alt="backup4" src="http://voiceofthedba.files.wordpress.com/2012/01/backup4_thumb.jpg?w=483&#038;h=90" width="483" height="90" /></a></p>
<p>You can see there are four files, with a “position” that differs.</p>
<p>Now, on the restore, why didn’t I get one row back in my table? The insert for row “g” occurred before the last full backup (backup 4), so why wasn’t it restored?</p>
<p>If we read the <a href="http://msdn.microsoft.com/en-us/library/ms178615.aspx">RESTORE Arguments page in BOL</a>, we find out that for the FILE arguement</p>
<p><em>“When not specified, the default is <strong>1</strong>, except for RESTORE HEADERONLY in which case all backup sets in the media set are processed. For more information, see &quot;Specifying a Backup Set,&quot; later in this topic.”</em></p>
<p>The backup that was restored was our first backup, made before we did any work (inserted any rows).</p>
<p>What do we do? Well, we have a few choices. The last (fourth) backup would only get us the one row. If we restore the third backup, we lose the data in rows “e” and “g”. That’s usually what we want to do, so let’s restore that backup:</p>
<pre class="code"><span style="color:green;">-- restore file 3
</span><span style="color:blue;">USE master
GO
RESTORE DATABASE </span>BackupRestoreTest
  <span style="color:blue;">FROM DISK </span><span style="color:gray;">= </span><span style="color:red;">'MyBackup.bak'
  </span><span style="color:blue;">WITH NORECOVERY
  </span><span style="color:gray;">, </span><span style="color:blue;">FILE </span><span style="color:gray;">= </span>3
  <span style="color:gray;">, </span><span style="color:magenta;">REPLACE
</span><span style="color:blue;">GO
</span><span style="color:green;">-- bring online
</span><span style="color:blue;">RESTORE DATABASE </span>BackupRestoreTest
  <span style="color:blue;">WITH recovery
go
</span><span style="color:green;">-- test data
</span><span style="color:blue;">USE </span>BackupRestoreTest
<span style="color:blue;">go
SELECT TOP </span>10
   mychar<span style="color:gray;">, </span>mytest
 <span style="color:blue;">FROM </span>mytable</pre>
<p>That gives me two rows back. I’ve lost some work, but I potentially have recovered more in many situations.</p>
<p><a href="http://voiceofthedba.files.wordpress.com/2012/01/backup5.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="backup5" border="0" alt="backup5" src="http://voiceofthedba.files.wordpress.com/2012/01/backup5_thumb.jpg?w=278&#038;h=154" width="278" height="154" /></a></p>
<p>Ideally I could recover more if I had transaction log backups, but that’s another blog.</p>
<p>The main thing to be aware of here is to use the INIT command, write your backups to separate files, preferably with the timestamp in the file name. If you’re not sure how to do it, a maintenance plan can do it, or there’s <a href="http://www.sqlservercentral.com/scripts/Backup+%2f+Restore/62380/">a great script on SQLServerCentral</a> that can help.</p>
<p>Lastly, the default recovery models mean you need log backups. Make sure you know how to <a href="http://www.sqlservercentral.com/articles/64582/">manage your transaction logs</a>.</p>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/blog/'>Blog</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/backuprecovery/'>Backup/Recovery</a>, <a href='https://voiceofthedba.wordpress.com/tag/sql-server/'>sql server</a>, <a href='https://voiceofthedba.wordpress.com/tag/syndicated/'>syndicated</a>, <a href='https://voiceofthedba.wordpress.com/tag/t-sql/'>T-SQL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3359&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/21/wheres-my-backup-sql-server-backup-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/01/backup3_thumb.jpg" medium="image">
			<media:title type="html">backup3</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/01/backup4_thumb.jpg" medium="image">
			<media:title type="html">backup4</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/01/backup5_thumb.jpg" medium="image">
			<media:title type="html">backup5</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy President&#8217;s Day 2012</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/20/happy-presidents-day-2012/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/20/happy-presidents-day-2012/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 14:40:22 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Editorial]]></category>
		<category><![CDATA[bloopers]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://voiceofthedba.wordpress.com/?p=3472</guid>
		<description><![CDATA[It&#8217;s President&#8217;s Day in the US, and a holiday for me, so I&#8217;m having a Daddy Daughter day in Denver, away from work. Hopefully most of you in the US also have the day off and are enjoying yourselves away from a computer. For those of you in the US, I hope your code compiles the first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3472&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_3473" class="wp-caption alignright" style="width: 296px"><a href="http://voiceofthedba.files.wordpress.com/2012/02/presidents-day.jpg"><img class="size-full wp-image-3473" title="presidents-day" src="http://voiceofthedba.files.wordpress.com/2012/02/presidents-day.jpg?w=497" alt=""   /></a><p class="wp-caption-text">Happy President&#039;s Day</p></div>
<p>It&#8217;s <a href="http://en.wikipedia.org/wiki/Washington%27s_Birthday">President&#8217;s Day</a> in the US, and a holiday for me, so I&#8217;m having a Daddy Daughter day in Denver, away from work. Hopefully most of you in the US also have the day off and are enjoying yourselves away from a computer.</p>
<p>For those of you in the US, I hope your code compiles the first time, queries return quickly, and you enjoy the blooper reel I&#8217;ve compiled from the last few months.</p>
<p>Steve Jones</p>
<hr />
<h3>The Voice of the DBA Podcasts</h3>
<p>We publish three versions of the podcast each day for you to enjoy.</p>
<ul>
<li>Watch the <a href="http://m.podshow.com/media/16929/episodes/310974/sqlservercentralwmv-310974-02-17-2012.wmv">Windows Media Podcast</a> - 33.6MB WMV <a href="http://feeds.feedburner.com/SqlservercentralcomArticlesTaggedEditorial-Wmv"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
<li>Watch the <a href="http://m.podshow.com/media/15351/episodes/310970/sqlservercentral-310970-02-17-2012.mp4">iPod Video Podcast</a> - 26.0MB MP4 <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=268045050"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
</ul>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/editorial/'>Editorial</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/bloopers/'>bloopers</a>, <a href='https://voiceofthedba.wordpress.com/tag/humor/'>Humor</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3472/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3472&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/20/happy-presidents-day-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://m.podshow.com/media/16929/episodes/310974/sqlservercentralwmv-310974-02-17-2012.wmv" length="34447547" type="video/asf" />
<enclosure url="http://m.podshow.com/media/15351/episodes/310970/sqlservercentral-310970-02-17-2012.mp4" length="26595720" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/15351/episodes/310970/sqlservercentral-310970-02-17-2012.mp4" length="26595720" type="video/mp4" />
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/02/presidents-day.jpg" medium="image">
			<media:title type="html">presidents-day</media:title>
		</media:content>

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />
	</item>
		<item>
		<title>The T-SQL Tuesday #027 Roundup</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/17/the-t-sql-tuesday-027-roundup/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/17/the-t-sql-tuesday-027-roundup/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 22:08:21 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[T-SQL Tuesday]]></category>

		<guid isPermaLink="false">https://voiceofthedba.wordpress.com/?p=3474</guid>
		<description><![CDATA[UPDATE: I found a few more posts, and have added them to the round up. Trackbacks didn&#8217;t work for some reason. I didn’t have quite the level of participation for T-SQL Tuesday #027 that I would have liked. I understand it was a holiday, and many people might have been otherwise occupied (a good thing), [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3474&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>UPDATE: I found a few more posts, and have added them to the round up. Trackbacks didn&#8217;t work for some reason.</em></p>
<p>I didn’t have quite the level of participation for T-SQL Tuesday #027 that I would have liked. I understand it was a holiday, and many people might have been otherwise occupied (a good thing), and there’s less work for my round up (a good thing), but less information out there (a bad thing). Perhaps it wasn’t a great topic, but in any case, here’s the roundup.</p>
<p>In the early hours of the day, <a href="http://sqlblog.com/blogs/rob_farley/archive/2012/02/14/bigdata-featuring-in-24-hours-of-pass.aspx">Rob Farley in Australia</a> gave is a short preview of Big Data coming in 24 hours of PASS.</p>
<p>Right behind Rob, Pinal Dave in India gave <a href="http://blog.sqlauthority.com/2012/02/14/sql-server-what-is-big-data-an-explanation-in-simple-words/">a simple explanation of Big Data</a> that I thought made it easy to understand some of the concepts behind how Big Data and SQL Server fit together.</p>
<p>Sebastian Meine wrote <a href="http://sqlity.net/en/666/purge-problems-tsql-tuesday-027-the-big-data-valentines-edition/">an interesting piece on purging data</a>, and how large data manipulation operations can benefit from indexing.</p>
<p>The SQL Philosopher <a href="http://www.sqlphilosopher.com/wp/2012/02/dealing-with-big-data-t-sql-tuesday-027/">talks about some of the challenges of rapidly growing data</a> in his environment.</p>
<p>Vinod Kumar has <a href="http://blogs.extremeexperts.com/2012/02/14/big-data-big-hype-yet-big-opportunity/">a nice summary of what the challenges of Big Data</a> in general can be.</p>
<p>Bob Pusateri has a post on <a href="http://www.bobpusateri.com/archive/2012/02/t-sql-tuesday-27-why-i-love-big-data/">why he loves Big Data</a>. I agree with him that Big Data gives the DBA a chance to shine, but also a chance for lots of headaches. You have to decide how you feel about that.</p>
<p>Mike Walsh has <a href="http://www.straightpathsql.com/archives/2012/02/t-sql-tuesday-love-big-data-style/">a post on what he&#8217;s doing with Big Data</a>, and Hadoop, with a client of his. An interesting read on the application of large data sets.</p>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/blog/'>Blog</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/t-sql-tuesday/'>T-SQL Tuesday</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3474/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3474&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/17/the-t-sql-tuesday-027-roundup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>
	</item>
		<item>
		<title>Programmers v Salespeople</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/17/programmers-v-salespeople/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/17/programmers-v-salespeople/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 15:08:07 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Editorial]]></category>
		<category><![CDATA[career]]></category>

		<guid isPermaLink="false">http://voiceofthedba.wordpress.com/?p=3440</guid>
		<description><![CDATA[Last year my wife moved from a sales engineering position to a sales rep job with her company. It has been a bit of a challenge, but she&#8217;s enjoyed it, and it&#8217;s been good for the family. On top of a small raise, she has a large potential upside to her income as a sales [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3440&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_3441" class="wp-caption alignright" style="width: 310px"><a href="http://www.flickr.com/photos/jenosaur/4784232032/"><img class="size-medium wp-image-3441" title="sale" src="http://voiceofthedba.files.wordpress.com/2012/02/sale.gif?w=300&#038;h=75" alt="" width="300" height="75" /></a><p class="wp-caption-text">Are sales more important than development?</p></div>
<p>Last year my wife moved from a sales engineering position to a sales rep job with her company. It has been a bit of a challenge, but she&#8217;s enjoyed it, and it&#8217;s been good for the family. On top of a small raise, she has a large potential upside to her income as a sales representative. I&#8217;m amazed how much money some of the people in her company make from selling software and services, and I sometimes wonder how it works out.</p>
<p>Recently I sent her <a href="http://blog.fogcreek.com/why-do-we-pay-sales-commissions/">this link about salespeople and commissions</a>. It talks about the problems with commissions and the potential misunderstandings of what commissions actually do for our company. I know that some companies think paying salespeople flat rates and no commission is heresy. I know others that have transitioned to flat rates, including many retail companies, and they have continued to achieve high sales.</p>
<p>As we debated the benefits of paying commissions,  we argued a bit about the relative value of the positions. She asked me if everyone received a salary, who shoudl be paid more. I said that I thought it was easy to replace salespeople in a company, so developers. My wife countered with &#8220;it&#8217;s easy to replace programmers.&#8221; So for a Friday poll, I thought I&#8217;d ask the tech people out there.</p>
<h3>Should salespeople make more than programmers?</h3>
<p>You can assume a commission structure, or salaries for everyone, but when you look at the value each brings to a company, and the ways in which they can help grow business, which is more valuable? Which is easier to replace? Replacing a top performer in either place is probably hard, but what&#8217;s your opinion?</p>
<p>I still stand by the idea that it&#8217;s easier to replace salespeople. While I think selling is a skill, I think it&#8217;s one more easily learned by a wider variety of the population. I think programming has a fundamental mindset that is hard to teach.</p>
<p>Or maybe it&#8217;s a larger number of people would be more willing to spend their days trying to sell something than sitting in a cubicle writing code.</p>
<p>Steve Jones</p>
<hr />
<h3>The Voice of the DBA Podcasts</h3>
<p>We publish three versions of the podcast each day for you to enjoy.</p>
<ul>
<li>Watch the <a href="http://m.podshow.com/media/16929/episodes/310765/sqlservercentralwmv-310765-02-14-2012.wmv">Windows Media Podcast</a> - 22.0MB WMV <a href="http://feeds.feedburner.com/SqlservercentralcomArticlesTaggedEditorial-Wmv"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
<li>Watch the <a href="http://m.podshow.com/media/15351/episodes/310766/sqlservercentral-310766-02-14-2012.mp4">iPod Video Podcast</a> - 19.2MB MP4 <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=268045050"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
<li>Watch the <a href="http://m.podshow.com/media/16930/episodes/310768/sqlservercentralmp3-310768-02-14-2012.mp3">MP3 Audio Podcast</a> - 3.9MB MP3 <a href="http://feeds.feedburner.com/sqlservercentral/sKij"><img src="http://www.sqlservercentral.com/Resources/Images/feed.gif" alt="" border="0" /></a></li>
</ul>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/editorial/'>Editorial</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/career/'>career</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3440/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3440&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/17/programmers-v-salespeople/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://m.podshow.com/media/16930/episodes/310768/sqlservercentralmp3-310768-02-14-2012.mp3" length="3967021" type="audio/mpeg" />
<enclosure url="http://m.podshow.com/media/16929/episodes/310765/sqlservercentralwmv-310765-02-14-2012.wmv" length="22498331" type="video/asf" />
<enclosure url="http://m.podshow.com/media/15351/episodes/310766/sqlservercentral-310766-02-14-2012.mp4" length="19664987" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/15351/episodes/310766/sqlservercentral-310766-02-14-2012.mp4" length="19664987" type="video/mp4" />
<enclosure url="http://m.podshow.com/media/15351/episodes/310766/sqlservercentral-310766-02-14-2012.mp4" length="19664987" type="video/mp4" />
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>

		<media:content url="http://voiceofthedba.files.wordpress.com/2012/02/sale.gif?w=300" medium="image">
			<media:title type="html">sale</media:title>
		</media:content>

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />

		<media:content url="http://www.sqlservercentral.com/Resources/Images/feed.gif" medium="image" />
	</item>
		<item>
		<title>Creating Your Own Certificates</title>
		<link>https://voiceofthedba.wordpress.com/2012/02/16/creating-your-own-certificates/</link>
		<comments>https://voiceofthedba.wordpress.com/2012/02/16/creating-your-own-certificates/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 20:04:00 +0000</pubDate>
		<dc:creator>way0utwest</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[syndicated]]></category>

		<guid isPermaLink="false">https://voiceofthedba.wordpress.com/?p=3395</guid>
		<description><![CDATA[Did you know that you don’t need to go to Digicert or Thawte, or any other company to get a certificate to use in SQL Server? You can create your own certificate. Why you would want to do this is a longer discussion, but suffice it to say that if your environment allows for self-signed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3395&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Did you know that you don’t need to go to <a href="http://www.digicert.com/">Digicert</a> or <a href="http://www.thawte.com/">Thawte</a>, or any other company to get a certificate to use in SQL Server? You can create your own certificate.</p>
<p>Why you would want to do this is a longer discussion, but suffice it to say that if your environment allows for self-signed certificates, you have a couple options for creating these in SQL Server and Windows. I’ll show you how easy this can be using these two methods:</p>
<ul>
<li>makecert</li>
<li>CREATE CERTIFICATE</li>
</ul>
<p>Please be careful if you plan on creating your own certificates. The value of a certificate and asymmetric keys comes in the hierarchy of trust for these certificates and if you do not have a strong hierarchy, you could potentially be making your security worse, rather than better.</p>
<h2>Makecert</h2>
<p>The <a href="http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx">Windows Software Development Kit (SDK)</a> contains a number of utiltiies, one of which is <a href="http://msdn.microsoft.com/en-us/library/bfsktky3.aspx">makecert</a>. It’s a command line tool that creates certificates for you, and It’s easy to use.</p>
<p>I downloaded the SDK, extracted it, and then fired up a command prompt, running this: </p>
<pre class="code"><span style="color:green;">makecert -sv &quot;c:\EncryptionPrimer\MyHRCert.pvk&quot; -pe -a sha1 -b &quot;01/01/2012&quot; -e &quot;12/31/2012&quot; -len 2048 -r -n CN=&quot;HR Protection Certificate&quot; c:\EncryptionPrimer\MyHRCert.cer</span></pre>
<p>This code creates a private key file (MyHRCert.pvk) and a public key certificate (MyHRCert.cer)</p>
<p>You can click the link and read the parameters, but it’s really that simple. When you create this certificate, you can use the FROM FILE options for CREATE CERTIFICATE to load this certificate into your SQL Server.</p>
<h2>CREATE CERTIFICATE</h2>
<p>I guess technically you are using the CREATE CERTIFICATE in either case here, but this section looks at the actual creation of the certificate by SQL Server.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms187798.aspx">CREATE CERTIFICATE</a> is standard DDL, like so many other commands in SQL Server. The parameters are similar to those for makecert. Here’s a statement that matches up with the one above.</p>
<pre class="code"><span style="color:blue;">create certificate </span>MySalaryCert
   <span style="color:blue;">ENCRYPTION BY PASSWORD </span><span style="color:gray;">= </span><span style="color:red;">N'R3allyToughP@ssword4You'
   </span><span style="color:blue;">WITH SUBJECT </span><span style="color:gray;">= </span><span style="color:red;">'HR Protection Certificate'</span><span style="color:gray;">,
   </span><span style="color:blue;">START_DATE </span><span style="color:gray;">= </span><span style="color:red;">'20120101'</span><span style="color:gray;">,
   </span><span style="color:blue;">EXPIRY_DATE </span><span style="color:gray;">= </span><span style="color:red;">'20121231'</span><span style="color:gray;">;</span></pre>
<p>Note that you don’t need to specify the algorithm or other parameters. SQL Server handles that for your. You also don’t need to specify the two files here. The database engine stores these keys inside the database. You should make a backup of them, and you can use the <a href="http://msdn.microsoft.com/en-us/library/ms178578.aspx">BACKUP CERTIFICATE</a> command to do this.</p>
<br />Filed under: <a href='https://voiceofthedba.wordpress.com/category/blog/'>Blog</a> Tagged: <a href='https://voiceofthedba.wordpress.com/tag/encryption/'>encryption</a>, <a href='https://voiceofthedba.wordpress.com/tag/security-2/'>security</a>, <a href='https://voiceofthedba.wordpress.com/tag/sql-server/'>sql server</a>, <a href='https://voiceofthedba.wordpress.com/tag/syndicated/'>syndicated</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/voiceofthedba.wordpress.com/3395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/voiceofthedba.wordpress.com/3395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/voiceofthedba.wordpress.com/3395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/voiceofthedba.wordpress.com/3395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/voiceofthedba.wordpress.com/3395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/voiceofthedba.wordpress.com/3395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/voiceofthedba.wordpress.com/3395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/voiceofthedba.wordpress.com/3395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/voiceofthedba.wordpress.com/3395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/voiceofthedba.wordpress.com/3395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/voiceofthedba.wordpress.com/3395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/voiceofthedba.wordpress.com/3395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/voiceofthedba.wordpress.com/3395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/voiceofthedba.wordpress.com/3395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=voiceofthedba.wordpress.com&amp;blog=15853693&amp;post=3395&amp;subd=voiceofthedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://voiceofthedba.wordpress.com/2012/02/16/creating-your-own-certificates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/1a8517189220c820ff5e87749d604656?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">way0utwest</media:title>
		</media:content>
	</item>
	</channel>
</rss>
