<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: SQL Script &#8211; Purchase Order Status/History (RPPSTA)</title>
	<atom:link href="http://www.made2mentor.com/2009/08/sql-script-purchase-order-statushistory-rppsta/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.made2mentor.com/2009/08/sql-script-purchase-order-statushistory-rppsta/</link>
	<description>Data Warehousing, Microsoft Business Intelligence, and Other Cool Stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 07:33:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Bottomscratcher</title>
		<link>http://www.made2mentor.com/2009/08/sql-script-purchase-order-statushistory-rppsta/comment-page-1/#comment-4811</link>
		<dc:creator>Bottomscratcher</dc:creator>
		<pubDate>Fri, 18 Sep 2009 09:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.made2mentor.com/?p=1800#comment-4811</guid>
		<description>Not sure what the purpose of this post is.  Perhaps it&#039;s a bad example of the use of ltrim(rtrim()).  Why would you use ltrim(rtrim (anything)) on a single character field?

Even though the PoMast.fStatus field is 20 characters, I get the same result set when I use 

select PoMast.fPoNo
from PoMast
where ltrim(rtrim(PoMast.fStatus)) = &#039;open&#039;

as I do when using 

select PoMast.fPoNo
from PoMast
where Pomast.fStatus = &#039;open&#039;</description>
		<content:encoded><![CDATA[<p>Not sure what the purpose of this post is.  Perhaps it&#8217;s a bad example of the use of ltrim(rtrim()).  Why would you use ltrim(rtrim (anything)) on a single character field?</p>
<p>Even though the PoMast.fStatus field is 20 characters, I get the same result set when I use </p>
<p>select PoMast.fPoNo<br />
from PoMast<br />
where ltrim(rtrim(PoMast.fStatus)) = &#8216;open&#8217;</p>
<p>as I do when using </p>
<p>select PoMast.fPoNo<br />
from PoMast<br />
where Pomast.fStatus = &#8216;open&#8217;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

