 




<?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: Insured Name not displayed properly</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/insured-name-not-displayed-properly/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/insured-name-not-displayed-properly/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/insured-name-not-displayed-properly/#comment-109304</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 17 Jul 2012 21:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/insured-name-not-displayed-properly/#comment-109304</guid>
		<description><![CDATA[&lt;EM&gt;...database is having both CHRIS and Chris. Is there any built-in-functions to trap both CHRIS and Chris...&lt;/EM&gt;
&#160;
There are multiple possibilities for that.
&#160;
&lt;EM&gt;...&#160;and that too sequentially.&lt;/EM&gt;
&#160;
But that restricts the possibilities a little. Best might be to FETCH through a cursor that uses a WHERE clause based on something like this:
&#160;WHERE SUBSTR(UPPER( name ),1,length(trim(&#039;CHRIS&#039;)))=TRIM(&#039;CHRIS&#039;)
&#160;
You wouldn&#039;t actually use &#039;CHRIS&#039; in the SQL. Use a host variable. For &#039;name&#039;, use the column that holds the name value. And use an ORDER BY clause to control sequencing.
&#160;
A different &#039;best&#039; way would be to use a LIKE predicate, but a lot of people have trouble with variable length patterns.
&#160;
Tom
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>&#8230;database is having both CHRIS and Chris. Is there any built-in-functions to trap both CHRIS and Chris&#8230;</em><br />
&nbsp;<br />
There are multiple possibilities for that.<br />
&nbsp;<br />
<em>&#8230;&nbsp;and that too sequentially.</em><br />
&nbsp;<br />
But that restricts the possibilities a little. Best might be to FETCH through a cursor that uses a WHERE clause based on something like this:<br />
&nbsp;WHERE SUBSTR(UPPER( name ),1,length(trim(&#8216;CHRIS&#8217;)))=TRIM(&#8216;CHRIS&#8217;)<br />
&nbsp;<br />
You wouldn&#8217;t actually use &#8216;CHRIS&#8217; in the SQL. Use a host variable. For &#8216;name&#8217;, use the column that holds the name value. And use an ORDER BY clause to control sequencing.<br />
&nbsp;<br />
A different &#8216;best&#8217; way would be to use a LIKE predicate, but a lot of people have trouble with variable length patterns.<br />
&nbsp;<br />
Tom<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WoodEngineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/insured-name-not-displayed-properly/#comment-109299</link>
		<dc:creator>WoodEngineer</dc:creator>
		<pubDate>Tue, 17 Jul 2012 15:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/insured-name-not-displayed-properly/#comment-109299</guid>
		<description><![CDATA[This article from this website answers your question nicely:
&lt;a href=&quot;http://www.itjungle.com/mgo/mgo121203-story01.html&quot; rel=&quot;nofollow&quot;&gt;http://www.itjungle.com/mgo/mgo121203-story01.html&lt;/A&gt;]]></description>
		<content:encoded><![CDATA[<p>This article from this website answers your question nicely:<br />
<a href="http://www.itjungle.com/mgo/mgo121203-story01.html" rel="nofollow">http://www.itjungle.com/mgo/mgo121203-story01.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.013 seconds using memcached
Object Caching 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 05:06:38 -->