<?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>Asher Bond &#187; sql</title>
	<atom:link href="http://www.asherbond.com/blog/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asherbond.com/blog</link>
	<description>I stay in SF, live in the Bay, represent cloud technology and the California way.</description>
	<lastBuildDate>Fri, 10 Sep 2010 00:20:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Select Related Posts (by tags and category relevance) in WordPress</title>
		<link>http://www.asherbond.com/blog/2009/05/21/how-to-select-related-posts-by-tags-and-category-relevance-in-wordpress/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-select-related-posts-by-tags-and-category-relevance-in-wordpress</link>
		<comments>http://www.asherbond.com/blog/2009/05/21/how-to-select-related-posts-by-tags-and-category-relevance-in-wordpress/#comments</comments>
		<pubDate>Thu, 21 May 2009 16:00:44 +0000</pubDate>
		<dc:creator>Asher Bond</dc:creator>
				<category><![CDATA[databases]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[relevance queries]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[wordpress mu]]></category>

		<guid isPermaLink="false">http://www.asherbond.com/blog/?p=86</guid>
		<description><![CDATA[The first step is to get the post ID of the blog post you are viewing. You can get the id of a post by using $post->ID in WordPress. Let&#8217;s pretend it&#8217;s 3987. You will also need to know the term ids for categories and tags associated with this blog post Here is some PHP [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>The first step is to get the post ID of the blog post you are viewing. You can get the id of a post by using $post->ID in WordPress. Let&#8217;s pretend it&#8217;s 3987.</li>
<li>You will also need to know the term ids for categories and tags associated with this blog post</li>
</ol>
<p>Here is some PHP code you can use in wordpress to get the tags of your post ID.<br />
[source:css]<br />
 $tags = wp_get_post_tags( $post->ID );<br />
[/source]</p>
<p>Let&#8217;s assume the result is one category (264) and one tag (41).</p>
<ol>
<li>If you are not using WordPress Mu, you can simply select from wp_term_relationships and wp_posts</li>
<li>If you are using WordPress Mu, you will need to specify the tables as wp_MU-BLOG-ID#_term_relationships and wp_MU-BLOG-ID#_posts. Let&#8217;s assume we are using WordPress Mu and our blog ID is 1. The tables we are working with are wp_1_term_relationships and wp_1_posts</li>
</ol>
<p>[source:css]SELECT p.ID, COUNT(tr.object_id) AS cnt<br />
FROM wp_1_term_relationships AS tr, wp_1_posts AS p<br />
WHERE tr.object_id = p.id AND tr.term_taxonomy_id IN(264,41) AND p.id!=3987 AND p.post_status=&#8217;publish&#8217;<br />
GROUP BY tr.object_id ORDER BY cnt DESC, p.post_date_gmt DESC LIMIT 5;[/source]</p>
<p>Notice that we have limited our results to the 5 most relevant posts. It is recommended that you limit this query because it can be a difficult query to process if you are running it on a blog that has thousands of posts. You can change LIMIT 5 to LIMIT 25 or so on blogs that are hosting less than 5,000 posts without seeing much of a difference in performance. On larger, more frequently updated blogs or WordPress MU sites which are hosting a lot of blogs on the same server, it is recommended that you cache the results of this query and only use it once an hour or once every time a blog entry has been updated.</p>
Share and Enjoy:<a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;partner=sociable'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;bodytext=%0D%0AThe%20first%20step%20is%20to%20get%20the%20post%20ID%20of%20the%20blog%20post%20you%20are%20viewing.%20You%20can%20get%20the%20id%20of%20a%20post%20by%20using%20%24post-%3EID%20in%20Wordpress.%20Let%27s%20pretend%20it%27s%203987.%0D%0AYou%20will%20also%20need%20to%20know%20the%20term%20ids%20for%20categories%20and%20tags%20associated%20with%20this%20blog'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/sphinn.png' class='sociable-img sociable-hovers ' title='Sphinn' alt='Sphinn' /></a><a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;notes=%0D%0AThe%20first%20step%20is%20to%20get%20the%20post%20ID%20of%20the%20blog%20post%20you%20are%20viewing.%20You%20can%20get%20the%20id%20of%20a%20post%20by%20using%20%24post-%3EID%20in%20Wordpress.%20Let%27s%20pretend%20it%27s%203987.%0D%0AYou%20will%20also%20need%20to%20know%20the%20term%20ids%20for%20categories%20and%20tags%20associated%20with%20this%20blog'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;t=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/mixx.png' class='sociable-img sociable-hovers ' title='Mixx' alt='Mixx' /></a><a rel='nofollow' target='_blank'  href='http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;annotation=%0D%0AThe%20first%20step%20is%20to%20get%20the%20post%20ID%20of%20the%20blog%20post%20you%20are%20viewing.%20You%20can%20get%20the%20id%20of%20a%20post%20by%20using%20%24post-%3EID%20in%20Wordpress.%20Let%27s%20pretend%20it%27s%203987.%0D%0AYou%20will%20also%20need%20to%20know%20the%20term%20ids%20for%20categories%20and%20tags%20associated%20with%20this%20blog'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png' class='sociable-img sociable-hovers ' title='Google Bookmarks' alt='Google Bookmarks' /></a><a rel='nofollow' target='_blank'  href='http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;source=Asher+Bond+I+stay+in+SF%2C+live+in+the+Bay%2C+represent+cloud+technology+and+the+California+way.&amp;summary=%0D%0AThe%20first%20step%20is%20to%20get%20the%20post%20ID%20of%20the%20blog%20post%20you%20are%20viewing.%20You%20can%20get%20the%20id%20of%20a%20post%20by%20using%20%24post-%3EID%20in%20Wordpress.%20Let%27s%20pretend%20it%27s%203987.%0D%0AYou%20will%20also%20need%20to%20know%20the%20term%20ids%20for%20categories%20and%20tags%20associated%20with%20this%20blog'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/linkedin.png' class='sociable-img sociable-hovers ' title='LinkedIn' alt='LinkedIn' /></a><a rel='nofollow' target='_blank'  href='http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;t=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/myspace.png' class='sociable-img sociable-hovers ' title='MySpace' alt='MySpace' /></a><a rel='nofollow' target='_blank'  href='http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;h=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/newsvine.png' class='sociable-img sociable-hovers ' title='NewsVine' alt='NewsVine' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;partner=sociable'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://slashdot.org/bookmark.pl?title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/slashdot.png' class='sociable-img sociable-hovers ' title='Slashdot' alt='Slashdot' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F%20How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/techmeme.png' class='sociable-img sociable-hovers ' title='Suggest to Techmeme via Twitter' alt='Suggest to Techmeme via Twitter' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://twitter.com/home?status=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress%20-%20http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/twitter.png' class='sociable-img sociable-hovers ' title='Twitter' alt='Twitter' /></a><a rel='nofollow' target='_blank'  href='http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;desc=%0D%0AThe%20first%20step%20is%20to%20get%20the%20post%20ID%20of%20the%20blog%20post%20you%20are%20viewing.%20You%20can%20get%20the%20id%20of%20a%20post%20by%20using%20%24post-%3EID%20in%20Wordpress.%20Let%27s%20pretend%20it%27s%203987.%0D%0AYou%20will%20also%20need%20to%20know%20the%20term%20ids%20for%20categories%20and%20tags%20associated%20with%20this%20blog'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/ekudos.png' class='sociable-img sociable-hovers ' title='eKudos' alt='eKudos' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;link=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://www.google.com/reader/link?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;title=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;srcURL=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;srcTitle=Asher+Bond+I+stay+in+SF%2C+live+in+the+Bay%2C+represent+cloud+technology+and+the+California+way.'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png' class='sociable-img sociable-hovers ' title='Google Buzz' alt='Google Buzz' /></a><a rel='nofollow' target='_blank'  href='http://www.asherbond.com/blog/feed/'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/rss.png' class='sociable-img sociable-hovers ' title='RSS' alt='RSS' /></a><a rel='nofollow' target='_blank'  href='http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2009%2F05%2F21%2Fhow-to-select-related-posts-by-tags-and-category-relevance-in-wordpress%2F&amp;t=How%20to%20Select%20Related%20Posts%20%28by%20tags%20and%20category%20relevance%29%20in%20Wordpress&amp;s=%0D%0AThe%20first%20step%20is%20to%20get%20the%20post%20ID%20of%20the%20blog%20post%20you%20are%20viewing.%20You%20can%20get%20the%20id%20of%20a%20post%20by%20using%20%24post-%3EID%20in%20Wordpress.%20Let%27s%20pretend%20it%27s%203987.%0D%0AYou%20will%20also%20need%20to%20know%20the%20term%20ids%20for%20categories%20and%20tags%20associated%20with%20this%20blog'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/tumblr.png' class='sociable-img sociable-hovers ' title='Tumblr' alt='Tumblr' /></a><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.asherbond.com/blog/2009/05/21/how-to-select-related-posts-by-tags-and-category-relevance-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find and Replace text inside a data field in SQL (string manipulation)</title>
		<link>http://www.asherbond.com/blog/2008/10/22/how-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation</link>
		<comments>http://www.asherbond.com/blog/2008/10/22/how-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 15:58:07 +0000</pubDate>
		<dc:creator>Asher Bond</dc:creator>
				<category><![CDATA[databases]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.asherbond.com/blog/?p=63</guid>
		<description><![CDATA[[source:css]update [table_name] set [field_name] = replace([field_name],&#8217;[string_to_find]&#8216;,&#8217;[string_to_replace]&#8216;);[/source] Share and Enjoy:]]></description>
			<content:encoded><![CDATA[<p>[source:css]update [table_name] set [field_name] = replace([field_name],&#8217;[string_to_find]&#8216;,&#8217;[string_to_replace]&#8216;);[/source]</p>
Share and Enjoy:<a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;partner=sociable'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;bodytext=%5Bsource%3Acss%5Dupdate%20%5Btable_name%5D%20set%20%5Bfield_name%5D%20%3D%20replace%28%5Bfield_name%5D%2C%27%5Bstring_to_find%5D%27%2C%27%5Bstring_to_replace%5D%27%29%3B%5B%2Fsource%5D'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/sphinn.png' class='sociable-img sociable-hovers ' title='Sphinn' alt='Sphinn' /></a><a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;notes=%5Bsource%3Acss%5Dupdate%20%5Btable_name%5D%20set%20%5Bfield_name%5D%20%3D%20replace%28%5Bfield_name%5D%2C%27%5Bstring_to_find%5D%27%2C%27%5Bstring_to_replace%5D%27%29%3B%5B%2Fsource%5D'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;t=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/mixx.png' class='sociable-img sociable-hovers ' title='Mixx' alt='Mixx' /></a><a rel='nofollow' target='_blank'  href='http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;annotation=%5Bsource%3Acss%5Dupdate%20%5Btable_name%5D%20set%20%5Bfield_name%5D%20%3D%20replace%28%5Bfield_name%5D%2C%27%5Bstring_to_find%5D%27%2C%27%5Bstring_to_replace%5D%27%29%3B%5B%2Fsource%5D'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png' class='sociable-img sociable-hovers ' title='Google Bookmarks' alt='Google Bookmarks' /></a><a rel='nofollow' target='_blank'  href='http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;source=Asher+Bond+I+stay+in+SF%2C+live+in+the+Bay%2C+represent+cloud+technology+and+the+California+way.&amp;summary=%5Bsource%3Acss%5Dupdate%20%5Btable_name%5D%20set%20%5Bfield_name%5D%20%3D%20replace%28%5Bfield_name%5D%2C%27%5Bstring_to_find%5D%27%2C%27%5Bstring_to_replace%5D%27%29%3B%5B%2Fsource%5D'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/linkedin.png' class='sociable-img sociable-hovers ' title='LinkedIn' alt='LinkedIn' /></a><a rel='nofollow' target='_blank'  href='http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;t=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/myspace.png' class='sociable-img sociable-hovers ' title='MySpace' alt='MySpace' /></a><a rel='nofollow' target='_blank'  href='http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;h=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/newsvine.png' class='sociable-img sociable-hovers ' title='NewsVine' alt='NewsVine' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;partner=sociable'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://slashdot.org/bookmark.pl?title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/slashdot.png' class='sociable-img sociable-hovers ' title='Slashdot' alt='Slashdot' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F%20How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/techmeme.png' class='sociable-img sociable-hovers ' title='Suggest to Techmeme via Twitter' alt='Suggest to Techmeme via Twitter' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://twitter.com/home?status=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29%20-%20http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/twitter.png' class='sociable-img sociable-hovers ' title='Twitter' alt='Twitter' /></a><a rel='nofollow' target='_blank'  href='http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;desc=%5Bsource%3Acss%5Dupdate%20%5Btable_name%5D%20set%20%5Bfield_name%5D%20%3D%20replace%28%5Bfield_name%5D%2C%27%5Bstring_to_find%5D%27%2C%27%5Bstring_to_replace%5D%27%29%3B%5B%2Fsource%5D'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/ekudos.png' class='sociable-img sociable-hovers ' title='eKudos' alt='eKudos' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;link=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://www.google.com/reader/link?url=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;title=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;srcURL=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;srcTitle=Asher+Bond+I+stay+in+SF%2C+live+in+the+Bay%2C+represent+cloud+technology+and+the+California+way.'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png' class='sociable-img sociable-hovers ' title='Google Buzz' alt='Google Buzz' /></a><a rel='nofollow' target='_blank'  href='http://www.asherbond.com/blog/feed/'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/rss.png' class='sociable-img sociable-hovers ' title='RSS' alt='RSS' /></a><a rel='nofollow' target='_blank'  href='http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.asherbond.com%2Fblog%2F2008%2F10%2F22%2Fhow-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation%2F&amp;t=How%20to%20Find%20and%20Replace%20text%20inside%20a%20data%20field%20in%20SQL%20%28string%20manipulation%29&amp;s=%5Bsource%3Acss%5Dupdate%20%5Btable_name%5D%20set%20%5Bfield_name%5D%20%3D%20replace%28%5Bfield_name%5D%2C%27%5Bstring_to_find%5D%27%2C%27%5Bstring_to_replace%5D%27%29%3B%5B%2Fsource%5D'><img src='http://www.asherbond.com/blog/wp-content/plugins/sociable-30/images/default/16/tumblr.png' class='sociable-img sociable-hovers ' title='Tumblr' alt='Tumblr' /></a><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.asherbond.com/blog/2008/10/22/how-to-find-and-replace-text-inside-a-data-field-in-sql-string-manipulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
