<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>TheBernharts.com &#187; tips</title>
	<atom:link href="http://www.thebernharts.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thebernharts.com</link>
	<description>This, that, and the other thing.</description>
	<lastBuildDate>Fri, 23 Jul 2010 19:06:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<link rel="http://api.friendfeed.com/2008/03#sup" xmlns="http://www.w3.org/2005/Atom" type="application/json" href="http://friendfeed.com/api/public-sup.json#bc1147d041"/>		<item>
		<title>Restoring a SQL database to a new host with limited accessibility</title>
		<link>http://www.thebernharts.com/2009/09/restoring-a-sql-database-to-a-new-host-with-limited-accessibility/</link>
		<comments>http://www.thebernharts.com/2009/09/restoring-a-sql-database-to-a-new-host-with-limited-accessibility/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:36:16 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[neil]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Microsoft SQL Server 2005]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/?p=602</guid>
		<description><![CDATA[How I moved a backed up SQL 2005 database to a server hosted at godaddy. The new server did not allow restoring backups that were not stored on the hosted server, and I had no access to place the .BAK file on the hosted server. Interested? Read on...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thebernharts.com/wp-content/uploads/2009/09/sql.gif" rel="lightbox[602]"><img class="alignright size-medium wp-image-609" style="margin: 0 0 5px 5px;" title="sql" src="http://www.thebernharts.com/wp-content/uploads/2009/09/sql-300x212.gif" alt="sql" width="300" height="212" /></a>I&#8217;ve taken a side job for some extra cash, which involves some web development work, including MS SQL database stuff. Up until now, I&#8217;ve only worked on SQL databases that I have complete administrative access to&#8230; i.e., they are steps away from me and I&#8217;ve set them up personally. This means that I&#8217;m very comfortable with importing, exporting, backing up, restoring, etc&#8230;. up until this project.</p>
<p>Here&#8217;s the scenario: I have a .BAK file of the database that was hosted on a MSSQL Server 2005 at my previous employers data-center. I need to re-create that database on a hosted MS SQL Server 2005 system at GoDaddy.com. No worries, I thought. I will just create my new database, do a manual back up of it. Then restore it and point it to my .BAK file from the previous server. That concept is old-hat to me, as I&#8217;ve done it countless times&#8230; <span id="more-602"></span>on systems that I have complete control and access to. This time it&#8217;s on a server that I have limited access to. GoDaddy only permits SQL restores from files that were created by the host system, and stored on it&#8217;s local disk. And&#8230; I have no rights to place my .BAK file onto the host db server. So, I put on my thinking cap and thunk this one out.</p>
<p>Now, I must fully expose that I am not a SQL DBA in any way, shape, or form. Systems Administration is my background&#8230; I can install, configure, and maintain the heck out of a MS SQL database. But, I have extremely limited skills with SQL programming and queries. So, here&#8217;s what I came up with:</p>
<p>I have SQL 2005 Express running on my Vista system. Figured I could use that to my advantage here to get the data moved. I&#8217;ll break it down into pieces. I have SQL Express connected to my local instance, as well as the remote instance.</p>
<ul>
<li>Create a new database (in my local instance, I created a new database&#8230; we&#8217;ll call it dbFOO)</li>
<li>Make a back up of dbFOO</li>
<li>Do a restore of dbFOO, and change it to grab the data from the .BAK file from the old system (this is the step that I would have loved to be able to do on the remote database server)
<ul>
<li>Change the options so that it overwrites the existing database</li>
</ul>
</li>
<li>On the remote instance, create a new database named dbFOO (db names must be the same since we&#8217;re using some queries and we want to limit how much manual editing we need to do)</li>
<li>On the local instance, right-click on one of the tables and choose &#8220;Script Table as&#8230; &gt; CREATE To &gt; Clipboard&#8221;</li>
<li>On the remote instance, right-click on the database and choose &#8220;New Query&#8221;</li>
<li>In the query window, paste your clipboard contents
<ul>
<li>since your database names are the same, this query will run without issues on the remote instance.</li>
</ul>
</li>
<li>Execute the query. Boom, the table is now created on the remote instance. Rinse and repeat for the rest of the local instance tables.
<ul>
<li>Tip: keep that query window open, and just replace the sql script with the once for the next table and execute it. A little time-saver.</li>
</ul>
</li>
<li>Once the tables are created, right-click on the dbFOO database on the remote instance. Choose &#8220;Tasks &gt; Import Data&#8221;
<ul>
<li>WAIT! SQL Express doesn&#8217;t have DTS built in, so how am I able to do this? I once had SQL 2000 Ent. Mgr. installed and I held on to the admin tools, which included DTS. It does spit out some errors when starting up, but I just launch dtswizard.exe and I&#8217;m able to use it for my SQL 2005 Express databases.</li>
</ul>
</li>
<li>Choose the local instance as your source, and your remote instance as your destination. Set up dbFOO as the database, of course.</li>
<li>Go through all of the wizard steps, choose the option for &#8220;copy data from one or more tables or views&#8221;.</li>
<li>Check the boxes for all the tables and make any adjustments. (I had to enable identity inserts)</li>
<li>Finish the wizard and blam, there is all of the data.</li>
</ul>
<p>Are there other ways to accomplish what I needed? Maybe so. Is this the most graceful way to accomplish what I needed? Probably not. Do I care? Nope&#8230; I got what I needed done. It actually took me longer to write this post than it did to do all the steps listed above.</p>
<p>If you have other ideas or ways that this could have been done, please leave a comment. I love to document this stuff for other out there that could be in the same pickle I was, to give them some ideas or help in their situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2009/09/restoring-a-sql-database-to-a-new-host-with-limited-accessibility/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://www.thebernharts.com/wp-content/uploads/2009/09/sql-150x150.gif" />
		<media:content url="http://www.thebernharts.com/wp-content/uploads/2009/09/sql.gif" medium="image">
			<media:title type="html">sql</media:title>
			<media:thumbnail url="http://www.thebernharts.com/wp-content/uploads/2009/09/sql-150x150.gif" />
		</media:content>
	</item>
		<item>
		<title>Force Users to auto log-off of Windows XP</title>
		<link>http://www.thebernharts.com/2007/12/force-users-to-auto-log-off-of-windows-xp/</link>
		<comments>http://www.thebernharts.com/2007/12/force-users-to-auto-log-off-of-windows-xp/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 16:34:19 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[windowsxp]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/2007/12/07/force-users-to-auto-log-off-of-windows-xp/</guid>
		<description><![CDATA[Need to force that stale user to log off?]]></description>
			<content:encoded><![CDATA[<p>I had a friend recently ask me how to get XP to log off a user automatically after a certain amount of inactivity. So, I figured I would take a look around and find the solution for him.</p>
<p>Windows 2003 Resource Kit has a screen saver that does just what he needed. Check out the Microsoft KB article that describes <a href="http://support.microsoft.com/kb/314999">how to set it all up</a>.<br />
<!--adsense#black_banner_quarter--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2007/12/force-users-to-auto-log-off-of-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>Disable screen saver properties on a stand-alone XP workstation</title>
		<link>http://www.thebernharts.com/2007/12/disable-screen-saver-properties-on-a-stand-alone-xp-workstation/</link>
		<comments>http://www.thebernharts.com/2007/12/disable-screen-saver-properties-on-a-stand-alone-xp-workstation/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 15:55:55 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[windowsxp]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/2007/12/07/disable-screen-saver-properties-on-a-stand-alone-xp-workstation/</guid>
		<description><![CDATA[Lock down that screen saver!]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re ever in the need to keep users from changing their screen saver, for whatever reason, follow these steps:</p>
<p>Go to START, then RUN. Enter this command: gpedit.msc<span id="more-72"></span><br />
This opens the local system policy, and you&#8217;ll find the options you require under:<br />
<em>Local Computer Policy > User Configuration > Administrative Templates > Control Panel > Display</em></p>
<p>Then change the following four options to set a specific screensaver and lock it:</p>
<ul>
<li>Change the option &#8220;Screen Saver&#8221; to <strong>Enabled</strong></li>
<li>Change the option &#8220;Screen Saver Executable Name&#8221; to <strong>Enabled</strong>, and enter the file name of an .scr file (from the Windows directory) in the box labeled &#8220;Screen Saver executable name&#8221;.  For example, to set the screen saver to the logon screen saver, enter &#8220;logon.scr&#8221;.</li>
<li>Change the option &#8220;Password Protect the Screen Saver&#8221; to <strong>Enabled </strong>(to password protect the screen saver and lock it) or <strong>Disabled </strong>(to keep password protection from applying to the screen saver and lock it), as necessary.</li>
<li>Change the option &#8220;Screen Saver Timeout&#8221; to <strong>Enabled</strong>, and enter the number of seconds in the box labeled &#8220;Seconds&#8221;. (10 minutes = 600 seconds)</li>
</ul>
<p>This will lock changing the screen saver, and set the screen saver options and lock them from being changed.</p>
<p><!--adsense#black_banner_half_links--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2007/12/disable-screen-saver-properties-on-a-stand-alone-xp-workstation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>Vista screen saver w/wireless laser mouse</title>
		<link>http://www.thebernharts.com/2007/03/vista-screen-saver-wwireless-laser-mouse/</link>
		<comments>http://www.thebernharts.com/2007/03/vista-screen-saver-wwireless-laser-mouse/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 01:06:09 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/2007/03/31/vista-screen-saver-wwireless-laser-mouse/</guid>
		<description><![CDATA[I&#8217;d been racking my head for a couple of days over why my screen saver won&#8217;t kick in on my new PC running Microsoft Vista Ultimate. After trying several modifications to my screen saver properties, I stumbled upon a Windows Update that was listed under the &#8220;Windows Ultimate Extras&#8221;. It&#8217;s listed as Microsoft &#8211; Other [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d been racking my head for a couple of days over why my screen saver won&#8217;t kick in on my new PC running Microsoft Vista Ultimate.</p>
<p>After trying several modifications to my screen saver properties, I stumbled upon a Windows Update that was listed under the &#8220;Windows Ultimate Extras&#8221;. It&#8217;s listed as Microsoft &#8211; Other Hardware &#8211; HID Non-User Input Data Filter. After installing that update (no reboot required), the screen saver worked fine.</p>
<p>Check the KB article <a href="http://support.microsoft.com/kb/913405">here</a>.</p>
<p><!--adsense#black_banner_half_links--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2007/03/vista-screen-saver-wwireless-laser-mouse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>Problem importing into Lightroom 1.0 on Vista</title>
		<link>http://www.thebernharts.com/2007/03/problem-importing-into-lightroom-10-on-vista/</link>
		<comments>http://www.thebernharts.com/2007/03/problem-importing-into-lightroom-10-on-vista/#comments</comments>
		<pubDate>Fri, 30 Mar 2007 00:54:52 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[neil]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[lightroom]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/2007/03/31/problem-importing-into-lightroom-10-on-vista/</guid>
		<description><![CDATA[After getting my new PC, loaded with Vista Ultimate, I&#8217;ve experience trouble importing some photos from my Nikin D70s camera. I did some research and discovered the resolution. Vista does not like the forward slash that Lightroom uses when importing using &#8220;by date&#8221; organization. You can simply double-click on the path within the &#8220;organize&#8221; box [...]]]></description>
			<content:encoded><![CDATA[<p>After getting my new PC, loaded with Vista Ultimate, I&#8217;ve experience trouble importing some photos from my Nikin D70s camera. I did some research and discovered the resolution.</p>
<p>Vista does not like the forward slash that Lightroom uses when importing using &#8220;by date&#8221; organization. You can simply double-click on the path within the &#8220;organize&#8221; box (with the check mark on it), you can modify it and replace it with a backslash. The import should work fine after that.</p>
<p>Cheers! Happy importing!<br />
<!--adsense#black_banner_half_links--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2007/03/problem-importing-into-lightroom-10-on-vista/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
	</item>
		<item>
		<title>Remove the U3 Launchpad tool from your SanDisk USB flash drive</title>
		<link>http://www.thebernharts.com/2007/01/63/</link>
		<comments>http://www.thebernharts.com/2007/01/63/#comments</comments>
		<pubDate>Wed, 24 Jan 2007 20:14:42 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/2007/01/24/63/</guid>
		<description><![CDATA[I found a sweet 1GB USB flash drive for only $20 at BestBuy. Once I plugged it into my system, I found that it uses this annoying &#8220;Launchpad&#8221; application to assist you with managing your files on it. After some googling, I found this highly useful article out there which provided a link to the [...]]]></description>
			<content:encoded><![CDATA[<p>I found a sweet <a target="_blank" href="http://www.sandisk.com/Products/Item(1919)-SDCZ6-1024-SanDisk_Cruzer_Micro_1GB_Black__New.aspx">1GB USB flash drive</a> for only $20 at BestBuy. Once I plugged it into my system, I found that it uses this annoying &#8220;Launchpad&#8221; application to assist you with managing your files on it.</p>
<p>After some googling, I found <a target="_blank" title="Removing U3 (and associated bundled software) from the SanDisk Cruzer Micro USB flash drive" href="http://kristagrothoff.wordpress.com/2006/08/24/removing-u3-and-associated-bundled-software-from-the-sandisk-cruzer-micro-usb-flash-drive/trackback/">this highly useful article</a> out there which provided a link to the U3 site for a removal tool. Works like a normal USB flash drive now&#8230; the way it should.</p>
<p><!--adsense#black_banner_half--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2007/01/63/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>Flickr Tips From Thomas Hawk</title>
		<link>http://www.thebernharts.com/2006/02/thomas-hawks-flickr-tips/</link>
		<comments>http://www.thebernharts.com/2006/02/thomas-hawks-flickr-tips/#comments</comments>
		<pubDate>Fri, 24 Feb 2006 01:05:18 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/2006/02/23/thomas-hawks-flickr-tips/</guid>
		<description><![CDATA[Interestingness on Flickr is a mystery. The formula/recipe/algorythm is held in super tight secrecy. Fellow flickr&#8217;er Thomas Hawk has a handy 10 item list on how to gain interestingness for your photos. From Thomas: At present I&#8217;ve had my Flickrstream viewed more than 400,000 times. While I&#8217;d like to think that it has something to [...]]]></description>
			<content:encoded><![CDATA[<p>Interestingness on Flickr is a mystery. The formula/recipe/algorythm is held in super tight secrecy. Fellow flickr&#8217;er Thomas Hawk has a handy 10 item list on how to gain interestingness for your photos.</p>
<p>From Thomas:</p>
<blockquote><p>At present I&#8217;ve had my Flickrstream viewed more than 400,000 times.  While I&#8217;d like to think that it has something to do with my stellar photography there are certainly tips that anyone can use to increase their visibility.  Welcome to the Flickr popularity contest.</p></blockquote>
<p><a href="http://thomashawk.com/2006/02/top-10-tips-for-getting-attention-on.html">Read more over at ThomasHawk.com</a></p>
<p><!--adsense#black_banner_half--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2006/02/thomas-hawks-flickr-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
	</channel>
</rss>
