<?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/"
	>

<channel>
	<title>Next Web Designs &#187; admin</title>
	<atom:link href="http://nextwebdesigns.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://nextwebdesigns.com</link>
	<description>Growing the Artistic Web</description>
	<lastBuildDate>Wed, 14 Jul 2010 13:23:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Real Housing Problem</title>
		<link>http://nextwebdesigns.com/2010/07/14/the-real-housing-problem/</link>
		<comments>http://nextwebdesigns.com/2010/07/14/the-real-housing-problem/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 13:03:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Off the Wall]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=74</guid>
		<description><![CDATA[The U.S. housing market has been in a depression for some time. I've been told not to worry, that it's just a correction of a previous bubble, but I think it's more serious than that. I'd like to propose that the main problem with the current housing market is not foreclosures, jobs, short-sales, bad loans, [...]]]></description>
			<content:encoded><![CDATA[<p>The U.S. housing market has been in a depression for some time. I've been told not to worry, that it's just a correction of a previous bubble, but I think it's more serious than that. I'd like to propose that the main problem with the current housing market is not foreclosures, jobs, short-sales, bad loans, easy money, too much supply, or not enough buyers... no, the real root-problem is declining house values, and now <a href="http://money.cnn.com/2010/02/23/real_estate/underwater_rates_rise/index.htm">too many people owe more than their house is worth</a>. Nearly 25% of all mortgages are upside down... 25%!!! For me, this is probably the scariest thing I've ever heard, and here's why:</p>
<ol>
<li><strong>Housing is usually a person's largest investment</strong>. Want to see depression, anger, outrage? Tell the Jones's that not only have they entirely lost their biggest family investment, but that their biggest investment has just turned into their biggest liability.</li>
<li><strong>The rise of the "walk away" solution</strong>. Do underwater homeowners want to bring $10,000 to over $100,000 in some cases to the table in order to sell their home? Most probably don't. They'd simply rather foreclose than deal with such a huge debt, and I can't say I blame them. Here's where I think the Obama administration went wrong when trying to come up with a "solution": <em>the <strong>ability</strong> to pay is not the main reason for forclosures, it's the <strong>desire </strong>to pay</em>. No one <em>wants</em> to "feed" a loosing mortgage only to see their total debt continue to rise to astronomical levels, many would simply rather get out and move on, start over.</li>
<li><strong>Creating a vicious cycle</strong>. As more and more home-owners choose to walk away, values decline further, causing more and more homeowners to become underwater, thus repeating the cycle.</li>
<li><strong>Market Re-programming</strong>. Because of the recent decline in home prices, people are now being re-programmed to think that maybe owning a house is not such a great idea.  As values decline further, fear sets in, taking even more buyers off the market, thus causing houses to decline even further.  It wasn't too long ago that no one ever imagined a house going <strong><em>down</em></strong> in value. It's tough to say just exactly what the long term consequences of this change in mindset might be.</li>
</ol>
<p>On the contrary, some would say that being underwater isn't a huge problem for most people, as they'll just wait until their values return so that they can then sell without taking the loss. The problem with this arguement is that it relies on 1) values going back up and 2) people being willing to wait that long. For some, that requires a tough stomach and a lot of faith, both which are increasingly difficult to do once you've been re-programmed for declining values. I'd also argue that if 25% of homeowners are doing this, then there's no way values will return to normal with so many people potentially just waiting on the sidelines to sell.</p>
<p>So what's the solution? Unfortunately, I think the only solution in this case is dramatic government intervention to stop the <strong>root problem</strong>, <strong>declining home values</strong>. If we can somehow stop this problem, people will find a way to pay their mortgage... <strong>because they want to</strong>... and more and more people will be attracted to buying, thus increasing demand and getting rid of supply. The trick is to do this temporarily, and at the risk of over-using a term, provide a good "exit strategy" for this intervention. So yes, in this case I would argue for some sort of a <a href="http://nextwebdesigns.com/2008/10/22/mainstreet-bailout/">bailout</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2010/07/14/the-real-housing-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Google Will Win</title>
		<link>http://nextwebdesigns.com/2010/07/08/why-google-will-win/</link>
		<comments>http://nextwebdesigns.com/2010/07/08/why-google-will-win/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 20:23:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Off the Wall]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=67</guid>
		<description><![CDATA[I find amusement (almost daily) in reading the various Apple vs. Google discussions / flame wars in the technology and investing circles.  It is an interesting case study in both technology and business, as the two companies clearly have very different strategies, but are both currently fighting over the very same turf.
Investing is entirely [...]]]></description>
			<content:encoded><![CDATA[<p>I find amusement (almost daily) in reading the various Apple vs. Google discussions / flame wars in the technology and investing circles.  It is an interesting case study in both technology and business, as the two companies clearly have very different strategies, but are both currently fighting over the very same turf.</p>
<p>Investing is entirely about being able to look forward into the future.  People who make money in the market know the most important rule in investing: <strong>stock prices should always reflect future expectations</strong>.  This is why <em>"average"</em> investors seem to get burned, they simply get into a stock too late, after they've heard all the good news...  or... vice versa, they exit too late, after they've heard all the bad news.  By the time they've heard about the news, it's already been reflected in the stock price, and is most-likely in the process of turning the other way.  Why do I mention this?  Because I believe we're currently seeing inaccurate stock price reflections for both Apple and Google considering the strategies they are taking for future growth.  Let me explain:</p>
<p>I believe we're seeing a point now where Google's expectations are not high enough simply because people don't fully understand what Google is doing with the cloud and what that means, while Apple's expectations are currently too high because of it's recent (but past) success.</p>
<p>Google is developing a next-generation, always-on, super-computer that you don't have to own, buy, or maintain.  They will do it for you... <em>for free</em>.  You can do everything you're doing on your computer right now, but you can do it from any device, anywhere, and without worrying about transferring to computer XYZ, syncing it with version T, or storing it on drive F.  Everything is always on, available, accessible, and stored all in one place.  Oh, and everything you use is smart too, meaning it is search-able, can interact with others, itself, and it's contextual.  If everything is stored in the cloud, the cloud can work with it all together leveraging contextual relationships, meaning documents can access calendars can access contacts can access location, all irrespective of your device.  This framework is extremely powerful and will allow Google deliver real and tangible benefits to consumers in ways they haven't yet even thought of.</p>
<p>Apple has had great success in the past with hardware development and it's music store.  However, the basic principals of the Internet are working against both of these models of success.  Hardware is becoming less and less relevant as more "work" is done in the cloud (the decline of desktop PC sales), and there is an extremely low barrier to entry for online music sales, pretty much anyone can enter that market rather cheaply.  There's nothing revolutionary about selling and downloading digital music.</p>
<p>The main reason I'm betting on Google is I just don't believe Apple's great hardware design and easy-to-use iTunes application is enough to power much more meaningful future growth 2-5 years down the line the way Google's cloud framework is.  Sadly enough, many amateur investors are still pouring into Apple because of it's recent <em><strong>but past</strong></em> success.  iPhone 4 and the iPad are great products and currently great sellers, but nothing revolutionary or game-changing.  Even more importantly, Apple's strategy for the future appears to be "just crank out more cool devices."  Do they have anything new, anything truly remarkable, any game changers?  It's really just nice hardware, which will be profitable, and probably for a while, but it doesn't compare to a new way of doing <em>everything</em> that truly adds value to everyone that uses it regardless of what device they are using.  To me, the cloud represents the future infrastructure, highway, and even the gas companies, whereas <strong>Apple really just makes nice cars</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2010/07/08/why-google-will-win/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple MySQL Stored Procedure</title>
		<link>http://nextwebdesigns.com/2009/02/14/simple-mysql-stored-procedure/</link>
		<comments>http://nextwebdesigns.com/2009/02/14/simple-mysql-stored-procedure/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 16:39:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Design]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=58</guid>
		<description><![CDATA[Here's a simple stored procedure I find myself using for MySQL over and over again.  If you use a person's email address as a database key, you may need to occasionally update their email address, and as such, you should update all references.  Here's a simple stored procedure to accomplish this:
DELIMITER $$

DROP PROCEDURE IF EXISTS [...]]]></description>
			<content:encoded><![CDATA[<p>Here's a simple stored procedure I find myself using for MySQL over and over again.  If you use a person's email address as a database key, you may need to occasionally update their email address, and as such, you should update all references.  Here's a simple stored procedure to accomplish this:</p>
<pre>DELIMITER $$

DROP PROCEDURE IF EXISTS changeEmail $$
CREATE PROCEDURE changeEmail (oldEmail varchar(100), newEmail varchar(100))
BEGIN
 -- First check our arguments and that the old email exists
 IF (oldEmail IS NOT NULL) AND (newEmail IS NOT NULL) AND
    (EXISTS (SELECT * FROM users WHERE email=oldEmail))
 THEN
   -- Update all references of the old email to the new one here
   UPDATE users set email=newEmail WHERE email=oldEmail LIMIT 1;
   UPDATE billing set email=newEmail WHERE email=oldEmail;
   UPDATE cards set email=newEmail WHERE email=oldEmail;
   UPDATE orders set user_email=newEmail WHERE user_email=oldEmail;
 END IF;
END $$

DELIMITER ;</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2009/02/14/simple-mysql-stored-procedure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bailout Perspective</title>
		<link>http://nextwebdesigns.com/2008/11/26/bailout-perspective/</link>
		<comments>http://nextwebdesigns.com/2008/11/26/bailout-perspective/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 15:35:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Off the Wall]]></category>
		<category><![CDATA[bailout]]></category>
		<category><![CDATA[economy]]></category>
		<category><![CDATA[wall-street]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=55</guid>
		<description><![CDATA[Some economists are estimating the final government bailout number to be around 3 trillion dollars when all is said and done, with stop reserves going out to 7 trillion.  According to census information, the total U.S. population is around 300 million.  So, if for some reason the government decided to give the taxpayers back their [...]]]></description>
			<content:encoded><![CDATA[<p>Some economists are estimating the final government bailout number to be around 3 trillion dollars when all is said and done, with stop reserves going out to 7 trillion.  According to census information, the total U.S. population is around 300 million.  So, if for some reason the government decided to give the taxpayers back their money (what a crazy concept), that would equate to $10,000 for every person living in the U.S.  That's $10,000 for every man, woman, and child, regardless of income, citizenship, or whether or not they even pay taxes!  I am no economist, but I think $40,000 in the hands of a middle-class family of 4 would go <strong>much</strong> farther than bailing out the corporations that started this mess...</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/11/26/bailout-perspective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mainstreet Bailout</title>
		<link>http://nextwebdesigns.com/2008/10/22/mainstreet-bailout/</link>
		<comments>http://nextwebdesigns.com/2008/10/22/mainstreet-bailout/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 12:57:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Off the Wall]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=52</guid>
		<description><![CDATA[I've come up with a plan to help main street while helping wall street at the same time.  No one wants to give anyone (mainstreet or wallstreet) a complete get out of jail free card, but the necessary evil is that something must be done, or we must struggle through an enormous recession and downturn [...]]]></description>
			<content:encoded><![CDATA[<p>I've come up with a plan to help main street while helping wall street at the same time.  No one wants to give anyone (mainstreet or wallstreet) a complete get out of jail free card, but the necessary evil is that <em>something</em> must be done, or we must struggle through an enormous recession and downturn in the economy.  Since the decision has already been made to <em>do something</em>, this article focuses on what <em>should</em> have been done to help mainstreet instead of <strong>just</strong> bailing out wall street's bad debt.</p>
<p><strong>Step 1: Government buys all "upside down" loans and loans where the LTV is greater than 80%.</strong>  The central reason for this economic downturn is the decline in housing prices.  Average homeowners see their largest asset suddenly turn into their largest debt as they owe more on thier house than it is worth.  If the government is going to spend a massive amount of money, I would argue that money would better be spent on something that would primarily help the average tax payer while providing an outlet for banks to get rid of potentially toxic loans at the same time.  The most risky loans out there are loans for more than the house is worth, or loans where the loan to value is greater than the historical standard of 80%.  If the government is given the option to buy these loans from the banks (at a discount that the banks would pay for), the banks would suddenly have a way to get all of these loans off of their books -- help for wall street, but at a penalizing discount too.</p>
<p><strong>Step 2: Government resets these loans to 0.00% interest.</strong>  Yes, that's right zero percent, zilch.  Suddenly homeowners are paying 100% principle in their monthly payments, and their monthly payment go down by hundreds of dollars a month.  People who were tempted to take the foreclosure route before, would now be crazy not to take advantage of 100% principle payments -- the opportunity of a lifetime, so these people will more than likely stay in their homes.  There would be no reduction in principle owed so main street doesn't get a complete bail out either.</p>
<p><strong>Step 3: When LTV reaches 80%, loans are reset to original amoritization schedule.</strong>  When the loan to value is back down to a reasonable level, like 80%, the interest rate kicks back in.  Yes, the payments go back up, BUT there is an incentive to make the payments now that you have 20% of your home's value.  If you can't make the payments, you should be able to sell your home and at least break even.  This works because presumably these loans will reset at different times, thus avoiding a sudden influx of home inventory on the market.</p>
<p><strong>Step 4: Change the rules.</strong>  Writing bad loans, wall street creating credit insurance worth many more times than the actual loan values, and preditory lenders all need to be curtailed.  Capitalism is great, but only with laws and rules to ensure that no one cheats the market or each other.</p>
<p>Is this fair?  No, not totally.  Those who have not indulged or who have wisely paid down the balance on their home won't get any direct help.  However, everyone will see their home values stablize and begin to trend upward again with the deflux of inventory from the market.  This won't be a permanent solution, unless things are done to ensure that homes are not being bought that shouldn't be and people are not getting the kind of loans they shouldn't be, otherwise we will be revisiting this situation again in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/10/22/mainstreet-bailout/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>App.config Settings for a Project with no Output</title>
		<link>http://nextwebdesigns.com/2008/10/17/appconfig-settings-for-a-project-with-no-output/</link>
		<comments>http://nextwebdesigns.com/2008/10/17/appconfig-settings-for-a-project-with-no-output/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 19:58:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Design]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=42</guid>
		<description><![CDATA[Sometimes more than just connection strings need to be stored to a settings or configuration file of some kind. If you are building a mult-tier application and your project is a class library with no run-able code, you can't just throw settings into an app.config file. Likewise, you wouldn't want to put your tier-specific settings [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes more than just connection strings need to be stored to a settings or configuration file of some kind. If you are building a mult-tier application and your project is a class library with no run-able code, you can't just throw settings into an app.config file. Likewise, you wouldn't want to put your tier-specific settings in a different project just because that project contains the output (and the app.config).</p>
<p>A simple way around this problem is to create a settings file for your project.  To do so, right click on your project and select "Properties"</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-46" title="Project Properties" src="http://nextwebdesigns.com/wp-content/uploads/2008/10/setting_shot1.jpg" alt="" width="316" height="538" /></a></p>
<p>Navigate to the "Settings" tab and click the link to create a new settings file</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-47" title="Create a settings file" src="http://nextwebdesigns.com/wp-content/uploads/2008/10/setting_shot2.jpg" alt="" width="500" height="307" /></a></p>
<p>Add the application specific parameters to your settings file via the designer.  Save and rebuild your project.</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-48" title="Add your setting string" src="http://nextwebdesigns.com/wp-content/uploads/2008/10/setting_shot3.jpg" alt="" width="500" height="297" /></a></p>
<p>To use your settings, reference them via the following syntax:</p>
<pre class="cpp">Properties.<span style="color: #00eeff;">Settings</span>.<span style="color: #0000ff;">Default</span>.<span style="color: #00eeff;">MySetting</span></pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/10/17/appconfig-settings-for-a-project-with-no-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Find Text in Any Field</title>
		<link>http://nextwebdesigns.com/2008/10/17/sql-server-find-text-in-any-field/</link>
		<comments>http://nextwebdesigns.com/2008/10/17/sql-server-find-text-in-any-field/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 13:06:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Design]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=35</guid>
		<description><![CDATA[In working with SQL server 2005, I came across this useful query which will loop through every table and every field in a database searching for specified text.  This can really come in handy when you're debugging someone else's un-documented database and you know the text, but you're not sure where it is stored in [...]]]></description>
			<content:encoded><![CDATA[<p>In working with SQL server 2005, I came across this useful query which will loop through every table and every field in a database searching for specified text.  This can really come in handy when you're debugging someone else's un-documented database and you know the text, but you're not sure where it is stored in the database.  Note that this will store the results of this query in a table called "Results", so if you have a table with that name, you'll want to rename the table below.  Also be sure to change your search criteria...  Enjoy!</p>
<pre class="sql"><span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #808080; font-style: italic;">#Results</span>
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #808080; font-style: italic;">#Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630))</span>
<span style="color: #993333; font-weight: bold;">SET</span> NOCOUNT <span style="color: #993333; font-weight: bold;">ON</span>
&nbsp;
DECLARE @TableName nvarchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">256</span><span style="color: #66cc66;">&#41;</span>, @ColumnName nvarchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">128</span><span style="color: #66cc66;">&#41;</span>, @SearchStr2 nvarchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">110</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">SET</span>  @TableName = <span style="color: #ff0000;">''</span>
<span style="color: #993333; font-weight: bold;">SET</span> @SearchStr2 = QUOTENAME<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'&lt;YOUR_SEARCH_DATA_HERE&gt;'</span>,<span style="color: #ff0000;">''</span><span style="color: #ff0000;">''</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
WHILE @TableName <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>
BEGIN
  <span style="color: #993333; font-weight: bold;">SET</span> @ColumnName = <span style="color: #ff0000;">''</span>
  <span style="color: #993333; font-weight: bold;">SET</span> @TableName =
  <span style="color: #66cc66;">&#40;</span>
    <span style="color: #993333; font-weight: bold;">SELECT</span> MIN<span style="color: #66cc66;">&#40;</span>QUOTENAME<span style="color: #66cc66;">&#40;</span>TABLE_SCHEMA<span style="color: #66cc66;">&#41;</span> + <span style="color: #ff0000;">'.'</span> + QUOTENAME<span style="color: #66cc66;">&#40;</span>TABLE_NAME<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #993333; font-weight: bold;">FROM</span>   INFORMATION_SCHEMA.<span style="color: #993333; font-weight: bold;">TABLES</span> <span style="color: #993333; font-weight: bold;">WHERE</span> TABLE_TYPE = <span style="color: #ff0000;">'BASE TABLE'</span>
    <span style="color: #993333; font-weight: bold;">AND</span> QUOTENAME<span style="color: #66cc66;">&#40;</span>TABLE_SCHEMA<span style="color: #66cc66;">&#41;</span> + <span style="color: #ff0000;">'.'</span> + QUOTENAME<span style="color: #66cc66;">&#40;</span>TABLE_NAME<span style="color: #66cc66;">&#41;</span> &gt; @TableName
    <span style="color: #993333; font-weight: bold;">AND</span> OBJECTPROPERTY<span style="color: #66cc66;">&#40;</span>
      OBJECT_ID<span style="color: #66cc66;">&#40;</span>
        QUOTENAME<span style="color: #66cc66;">&#40;</span>TABLE_SCHEMA<span style="color: #66cc66;">&#41;</span> + <span style="color: #ff0000;">'.'</span> + QUOTENAME<span style="color: #66cc66;">&#40;</span>TABLE_NAME<span style="color: #66cc66;">&#41;</span>
      <span style="color: #66cc66;">&#41;</span>, <span style="color: #ff0000;">'IsMSShipped'</span>
    <span style="color: #66cc66;">&#41;</span> = <span style="color: #cc66cc;">0</span>
  <span style="color: #66cc66;">&#41;</span>
&nbsp;
  WHILE <span style="color: #66cc66;">&#40;</span>@TableName <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #66cc66;">&#40;</span>@ColumnName <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">&#41;</span>
  BEGIN
    <span style="color: #993333; font-weight: bold;">SET</span> @ColumnName =
    <span style="color: #66cc66;">&#40;</span>
      <span style="color: #993333; font-weight: bold;">SELECT</span> MIN<span style="color: #66cc66;">&#40;</span>QUOTENAME<span style="color: #66cc66;">&#40;</span>COLUMN_NAME<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
      <span style="color: #993333; font-weight: bold;">FROM</span> INFORMATION_SCHEMA.<span style="color: #993333; font-weight: bold;">COLUMNS</span>
      <span style="color: #993333; font-weight: bold;">WHERE</span> TABLE_SCHEMA = PARSENAME<span style="color: #66cc66;">&#40;</span>@TableName, <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>
      <span style="color: #993333; font-weight: bold;">AND</span> TABLE_NAME  = PARSENAME<span style="color: #66cc66;">&#40;</span>@TableName, <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>
      <span style="color: #993333; font-weight: bold;">AND</span> DATA_TYPE <span style="color: #993333; font-weight: bold;">IN</span> <span style="color: #66cc66;">&#40;</span>
        <span style="color: #ff0000;">'char'</span>, <span style="color: #ff0000;">'varchar'</span>, <span style="color: #ff0000;">'nchar'</span>, <span style="color: #ff0000;">'nvarchar'</span>, <span style="color: #ff0000;">'uniqueidentifier'</span>, <span style="color: #ff0000;">'smallint'</span>, <span style="color: #ff0000;">'identity'</span>
      <span style="color: #66cc66;">&#41;</span>
      <span style="color: #993333; font-weight: bold;">AND</span> QUOTENAME<span style="color: #66cc66;">&#40;</span>COLUMN_NAME<span style="color: #66cc66;">&#41;</span> &gt; @ColumnName
    <span style="color: #66cc66;">&#41;</span>
&nbsp;
    <span style="color: #993333; font-weight: bold;">IF</span> @ColumnName <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>
    BEGIN
    <span style="color: #993333; font-weight: bold;">INSERT</span> <span style="color: #993333; font-weight: bold;">INTO</span> <span style="color: #808080; font-style: italic;">#Results</span>
    EXEC
    <span style="color: #66cc66;">&#40;</span>
      <span style="color: #ff0000;">'SELECT '</span><span style="color: #ff0000;">''</span> + @TableName + <span style="color: #ff0000;">'.'</span> + @ColumnName + <span style="color: #ff0000;">''</span><span style="color: #ff0000;">', LEFT('</span> + @ColumnName + <span style="color: #ff0000;">', 3630)
      FROM '</span> + @TableName + <span style="color: #ff0000;">' (NOLOCK) '</span> +
      <span style="color: #ff0000;">' WHERE '</span> + @ColumnName + <span style="color: #ff0000;">' LIKE '</span> + @SearchStr2
    <span style="color: #66cc66;">&#41;</span>
    END
  END
END
&nbsp;
<span style="color: #993333; font-weight: bold;">SELECT</span> ColumnName, ColumnValue <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #808080; font-style: italic;">#Results</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/10/17/sql-server-find-text-in-any-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stress Breakdowns</title>
		<link>http://nextwebdesigns.com/2008/09/12/stress-breakdowns/</link>
		<comments>http://nextwebdesigns.com/2008/09/12/stress-breakdowns/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 18:34:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Off the Wall]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=33</guid>
		<description><![CDATA[It's been my experience lately that there's two main circumstances in which developers can inccurr a significant amount of unhealthy work-related stress:
Nothing to do.  This doesn't sound stressful, but when you go to work and don't have anything to do it is extremely unfullfilling.  Not to mention the temptation to pull up inappropriate material from [...]]]></description>
			<content:encoded><![CDATA[<p>It's been my experience lately that there's two main circumstances in which developers can inccurr a significant amount of <strong>unhealthy</strong> work-related stress:</p>
<p><strong>Nothing to do</strong>.  This doesn't sound stressful, but when you go to work and don't have anything to do it is extremely unfullfilling.  Not to mention the temptation to pull up inappropriate material from the web...</p>
<p><strong>Working for other people's mistakes.</strong> When working on a team project, if you're having to work on code that is not yours, not your design, or dependant on others, this can be an extremely stressful environment.  If you find that your project/tasks are simply garbage because of other people's inability to write clean code, it is sometimes difficult to show others the fault is not your own.</p>
<p>At least those have been the two main culprits of my work-related stress as of late, what's yours?</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/09/12/stress-breakdowns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3 RC2 Available</title>
		<link>http://nextwebdesigns.com/2008/06/05/firefox-3-rc2-available/</link>
		<comments>http://nextwebdesigns.com/2008/06/05/firefox-3-rc2-available/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 14:04:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Off the Wall]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=32</guid>
		<description><![CDATA[Firefox version 3, Release Candidate 2 is now available for download!  The immediate improvement I noticed: speed.  Version 3 appears to start up a bit faster, load pages faster, and handle javascript-laden pages faster.  Also nice to see were the numerous tasteful UI enhancements.  Firefox has always had a simple UI before, and I'm glad [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mozilla.com/en-US/firefox/all-rc.html" target="_blank">Firefox version 3, Release Candidate 2 is now available for download</a>!  The immediate improvement I noticed: speed.  Version 3 appears to start up a bit faster, load pages faster, and handle javascript-laden pages faster.  Also nice to see were the numerous tasteful UI enhancements.  Firefox has always had a simple UI before, and I'm glad they didn't make the mistake of overhauling the interface for some whiz-bang features (see IE7).  There are subtle enhancements that the average user probably won't even consciously notice like fading in of highlighted tabs, site icons next to sites in the URL, smooth tab scrolling, and subtle toolbar color differences that better define action areas.  It's great to see smooth and subtle changes like this to further enhance this great browser.</p>
<p><strong>Disclaimer</strong>: as a company that provides web development services, Holley Grove is partial to browsers which actually attempt to adhere to web standards and valid HTML/CSS.  Firefox 3 is a great browser to use to make sure you're doing your part to promote web standards and make the Internet a better place to visit!</p>
<p><a href="http://www.spreadfirefox.com/node&amp;id=0&amp;t=272"><img title="Download Day - English" src="http://www.spreadfirefox.com/files/images/affiliates_banners/468x60_ddayb_en.png" border="0" alt="Download Day - English" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/06/05/firefox-3-rc2-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSHFS: A Perfect Remote File Manager?</title>
		<link>http://nextwebdesigns.com/2008/03/26/sshfs-a-perfect-remote-file-manager/</link>
		<comments>http://nextwebdesigns.com/2008/03/26/sshfs-a-perfect-remote-file-manager/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 01:26:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Hosting]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/2008/03/26/sshfs-a-perfect-remote-file-manager/</guid>
		<description><![CDATA[SSHFS is a Fuse-based Linux filesystem that allows you to connect to an SSH server, and mount it as you would any other mountable device.  The difference is... this "device" is a remote server using an SSH connection.  At Holley Grove, we use SSHFS on all of our servers, SSHFS might be something you should [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/SSHFS">SSHFS</a> is a Fuse-based Linux filesystem that allows you to connect to an SSH server, and mount it as you would any other mountable device.  The difference is... this "device" is a remote server using an SSH connection.  At <a href="http://www.holleygrove.com">Holley Grove</a>, we use SSHFS on all of our servers, SSHFS might be something you should consider as well... here's just a few reasons why:</p>
<ol>
<li>You're basically using SSH to communicate.  SSH is encrypted, and as such can be one of the most secure methods of communication available.</li>
<li>The setup is relatively simple, as you only need a few libraries on the client computers, and an SSH server running on the remote server.</li>
<li>Permissions, users, and groups are all preserved as they would be using normal SSH.</li>
<li>You can turn off in-secure, un-encrypted FTP completely.</li>
<li>Fast access to files via your file manager application as if they were stored locally on your computer.  For Linux Gnome users, your SSHFS mounted shares will show up in Nautilus and act accordingly.</li>
</ol>
<p><strong>HowTo:</strong></p>
<p>For Ubuntu, simply install <strong>sshfs</strong> via the package manager.  You'll then need to add your Ubuntu user account to the Fuse group so that you'll have permission to use Fuse.  To do this, go to <em>System -&gt; Administration -&gt; Users and Groups</em>.  Click on your username and click the "Properties" button.  Make sure the checkbox for "fuse" is checked and save your settings.  You may need to log out and log back in for these changes to take effect.  Now you can mount an SSH server in the directory called "remote":</p>
<p><code>sshfs landon@holleygrove.com: remote</code></p>
<p>And to disconnect:</p>
<p><code>fusermount -u remote</code></p>
<p><a href="http://nextwebdesigns.com/wp-content/uploads/2008/03/screenshot.png" title="SSHFS Desktop Example"><img src="http://nextwebdesigns.com/wp-content/uploads/2008/03/screenshot.thumbnail.png" alt="SSHFS Desktop Example" align="right" hspace="5" vspace="5" /></a>It's great to be able to run a command to mount an SSH server, then pop open nautlius and have all the remote files and directories listed right there just as any other files!</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/03/26/sshfs-a-perfect-remote-file-manager/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
