<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; TRIM() Function &#8211; UDF TRIM()</title>
	<atom:link href="http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sat, 25 May 2013 01:31:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Anjibabu Kamma</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-469929</link>
		<dc:creator><![CDATA[Anjibabu Kamma]]></dc:creator>
		<pubDate>Mon, 06 May 2013 11:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-469929</guid>
		<description><![CDATA[SELECT REPLACE (REPLACE (&#039;who’s,this,book’s&#039;,&#039;’&#039;,&#039;&#039;),&#039;,&#039;,&#039;  &#039;)]]></description>
		<content:encoded><![CDATA[<p>SELECT REPLACE (REPLACE (&#8216;who’s,this,book’s&#8217;,'’&#8217;,&#8221;),&#8217;,',&#8217;  &#8216;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #026 &#124; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-464687</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #026 &#124; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 27 Apr 2013 01:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-464687</guid>
		<description><![CDATA[[...] TRIM() Function – UDF TRIM() A very interesting blog post how we can trim any column value in database. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] TRIM() Function – UDF TRIM() A very interesting blog post how we can trim any column value in database. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomar</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-438271</link>
		<dc:creator><![CDATA[tomar]]></dc:creator>
		<pubDate>Sat, 16 Mar 2013 08:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-438271</guid>
		<description><![CDATA[hi,
i have a problem, want to retrieve &amp; from table in asp.net page .
but the result is &amp; is display in textbox please sort out this problem]]></description>
		<content:encoded><![CDATA[<p>hi,<br />
i have a problem, want to retrieve &amp; from table in asp.net page .<br />
but the result is &amp; is display in textbox please sort out this problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shivani</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-437196</link>
		<dc:creator><![CDATA[Shivani]]></dc:creator>
		<pubDate>Thu, 14 Mar 2013 10:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-437196</guid>
		<description><![CDATA[Hello, my doubt is can we use ltrim/rtrim on integers and date variables. 
this works pretty well, but certain coding standards avoid the use of trimming integer or date variables. Can you please suggest   why so?]]></description>
		<content:encoded><![CDATA[<p>Hello, my doubt is can we use ltrim/rtrim on integers and date variables.<br />
this works pretty well, but certain coding standards avoid the use of trimming integer or date variables. Can you please suggest   why so?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aniruddha</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-437024</link>
		<dc:creator><![CDATA[aniruddha]]></dc:creator>
		<pubDate>Thu, 14 Mar 2013 05:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-437024</guid>
		<description><![CDATA[hi
how can i select data that contains in [ ] in sql column.
e.g.i have a column that contains large data in that col i have some data as -
employee name is [emp_name] and job description is [job_desc].
and i want to select only [emp_name] using sql qry n display it in stringbuilder.
thanks]]></description>
		<content:encoded><![CDATA[<p>hi<br />
how can i select data that contains in [ ] in sql column.<br />
e.g.i have a column that contains large data in that col i have some data as -<br />
employee name is [emp_name] and job description is [job_desc].<br />
and i want to select only [emp_name] using sql qry n display it in stringbuilder.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; TRIM Function to Remove Leading and Trailing Spaces of String &#8211; SQL in Sixty Seconds #040 &#8211; Video &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-411520</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; TRIM Function to Remove Leading and Trailing Spaces of String &#8211; SQL in Sixty Seconds #040 &#8211; Video &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Wed, 23 Jan 2013 01:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-411520</guid>
		<description><![CDATA[[...] SQL SERVER – TRIM() Function – UDF TRIM() [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER – TRIM() Function – UDF TRIM() [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franny Mac</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-364931</link>
		<dc:creator><![CDATA[Franny Mac]]></dc:creator>
		<pubDate>Fri, 26 Oct 2012 10:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-364931</guid>
		<description><![CDATA[Thank you for your post!

I was looking for a function to turn any number of consecutive spaces into a single space, for example &#039;I  love     Pinal           Dave&#039; -&gt; &#039;I love Pinal Dave&#039;. I came up with...

CREATE FUNCTION dbo.SPACEOUT(@string VARCHAR(255))
RETURNS VARCHAR(255)
BEGIN
DECLARE @doublespaceindex TINYINT,
@tempstring VARCHAR(255)
SET @doublespaceindex = CHARINDEX(&#039;  &#039;,@string)
WHILE @doublespaceindex &gt; 0
	BEGIN
	SET @string = REPLACE(@string,&#039;  &#039;,&#039; &#039;)
	SET @doublespaceindex = CHARINDEX(&#039;  &#039;,@string)
	END
RETURN @string
END]]></description>
		<content:encoded><![CDATA[<p>Thank you for your post!</p>
<p>I was looking for a function to turn any number of consecutive spaces into a single space, for example &#8216;I  love     Pinal           Dave&#8217; -&gt; &#8216;I love Pinal Dave&#8217;. I came up with&#8230;</p>
<p>CREATE FUNCTION dbo.SPACEOUT(@string VARCHAR(255))<br />
RETURNS VARCHAR(255)<br />
BEGIN<br />
DECLARE @doublespaceindex TINYINT,<br />
@tempstring VARCHAR(255)<br />
SET @doublespaceindex = CHARINDEX(&#8216;  &#8216;,@string)<br />
WHILE @doublespaceindex &gt; 0<br />
	BEGIN<br />
	SET @string = REPLACE(@string,&#8217;  &#8216;,&#8217; &#8216;)<br />
	SET @doublespaceindex = CHARINDEX(&#8216;  &#8216;,@string)<br />
	END<br />
RETURN @string<br />
END</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parth Malhan</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-309597</link>
		<dc:creator><![CDATA[Parth Malhan]]></dc:creator>
		<pubDate>Thu, 05 Jul 2012 10:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-309597</guid>
		<description><![CDATA[HI,

Is there something in SQL Server to make Ltrim as 
default Constraint or policy in Database
For All Tables

eg.

SELECT &#039; a &#039; A INTO TestTable

And on select Statement, This Table return only &#039;a&#039; without Leading\Trailing Spaces.]]></description>
		<content:encoded><![CDATA[<p>HI,</p>
<p>Is there something in SQL Server to make Ltrim as<br />
default Constraint or policy in Database<br />
For All Tables</p>
<p>eg.</p>
<p>SELECT &#8216; a &#8216; A INTO TestTable</p>
<p>And on select Statement, This Table return only &#8216;a&#8217; without Leading\Trailing Spaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harish Panguluri</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-290341</link>
		<dc:creator><![CDATA[Harish Panguluri]]></dc:creator>
		<pubDate>Tue, 29 May 2012 09:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-290341</guid>
		<description><![CDATA[Hi, Can we use this one to the entire column of the table?
something  like  &#039;&#039;Select Trim([Column Name]);&#039;&#039; 

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi, Can we use this one to the entire column of the table?<br />
something  like  &#8221;Select Trim([Column Name]);&#8221; </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-265266</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 20 Mar 2012 10:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-265266</guid>
		<description><![CDATA[Yes that is how it works.]]></description>
		<content:encoded><![CDATA[<p>Yes that is how it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-262966</link>
		<dc:creator><![CDATA[Allen]]></dc:creator>
		<pubDate>Wed, 14 Mar 2012 15:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-262966</guid>
		<description><![CDATA[well i tried to type 2 spaces after the word &#039;sample&#039; but it looks like it got trimmed to just 1.

So... when you save
&#039;Samples&#039; to a char(8) field it becomes &#039;Samples &#039;]]></description>
		<content:encoded><![CDATA[<p>well i tried to type 2 spaces after the word &#8216;sample&#8217; but it looks like it got trimmed to just 1.</p>
<p>So&#8230; when you save<br />
&#8216;Samples&#8217; to a char(8) field it becomes &#8216;Samples &#8216;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-262961</link>
		<dc:creator><![CDATA[Allen]]></dc:creator>
		<pubDate>Wed, 14 Mar 2012 15:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-262961</guid>
		<description><![CDATA[it probably &#039;doesnt work&#039; in your case because CHAR is a fixed length field, so if you trim:
&#039;Sample  &#039;

it becomes:
&#039;Sample&#039;

but when you save it to a char(8) field, it becomes:
&#039;Sample  &#039;

because it is padded with spaces again.]]></description>
		<content:encoded><![CDATA[<p>it probably &#8216;doesnt work&#8217; in your case because CHAR is a fixed length field, so if you trim:<br />
&#8216;Sample  &#8216;</p>
<p>it becomes:<br />
&#8216;Sample&#8217;</p>
<p>but when you save it to a char(8) field, it becomes:<br />
&#8216;Sample  &#8216;</p>
<p>because it is padded with spaces again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kashif iqbal</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-259948</link>
		<dc:creator><![CDATA[kashif iqbal]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 06:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-259948</guid>
		<description><![CDATA[I am suffering from a problem. there is one database field that is entered by users. User may some time entered lot of spaces between characters. This problems in crystal report.  few line print on one page and other lines print on 2nd and 3rd page. I checked but this issue not belong to crystal report formatting. I search a lot for crystal report formulas to get solution but i can&#039;t.
I want to remove empty lines between this string. how can i do it?  

Thanks]]></description>
		<content:encoded><![CDATA[<p>I am suffering from a problem. there is one database field that is entered by users. User may some time entered lot of spaces between characters. This problems in crystal report.  few line print on one page and other lines print on 2nd and 3rd page. I checked but this issue not belong to crystal report formatting. I search a lot for crystal report formulas to get solution but i can&#8217;t.<br />
I want to remove empty lines between this string. how can i do it?  </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iswariya</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-240182</link>
		<dc:creator><![CDATA[iswariya]]></dc:creator>
		<pubDate>Wed, 18 Jan 2012 11:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-240182</guid>
		<description><![CDATA[i need replace Single Quotes :
my input is : who&#039;s,this,book&#039;s
i want the output is : whos
                                 this
                                 books]]></description>
		<content:encoded><![CDATA[<p>i need replace Single Quotes :<br />
my input is : who&#8217;s,this,book&#8217;s<br />
i want the output is : whos<br />
                                 this<br />
                                 books</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-231213</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 11:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-231213</guid>
		<description><![CDATA[You need to use PIVOT. Refer this
http://beyondrelational.com/blogs/madhivanan/archive/2008/08/27/dynamic-pivot-in-sql-server-2005.aspx]]></description>
		<content:encoded><![CDATA[<p>You need to use PIVOT. Refer this<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2008/08/27/dynamic-pivot-in-sql-server-2005.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2008/08/27/dynamic-pivot-in-sql-server-2005.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sahil</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-225759</link>
		<dc:creator><![CDATA[Sahil]]></dc:creator>
		<pubDate>Sun, 25 Dec 2011 21:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-225759</guid>
		<description><![CDATA[Hi,
I am using SQL 2008, and am trying to insert value from table 1 to table 2 with multi records from table1 column “Description” and would like to populate in 1 unique record into table 2.

I have given an example below; 

TABLE 1

PATIENT_ID	DESCCRIPTION	

2771		MOTRIN TAB		
2771		TYLENOLTAB          
2771		ZANTAC TAB      

2775		ABC TAB		
2775		123 TAB          
2775		XYZ TAB

Example: Copy values from table 1 into table 2 with single row;

TABLE 2

PATIENT_ID	DESCRIPTION

2771		MOTRIN TAB,TYLENOL TAB,ZANTAC TAB
2775		ABC TAB, 123 TAB, XYZ TAB

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am using SQL 2008, and am trying to insert value from table 1 to table 2 with multi records from table1 column “Description” and would like to populate in 1 unique record into table 2.</p>
<p>I have given an example below; </p>
<p>TABLE 1</p>
<p>PATIENT_ID	DESCCRIPTION	</p>
<p>2771		MOTRIN TAB<br />
2771		TYLENOLTAB<br />
2771		ZANTAC TAB      </p>
<p>2775		ABC TAB<br />
2775		123 TAB<br />
2775		XYZ TAB</p>
<p>Example: Copy values from table 1 into table 2 with single row;</p>
<p>TABLE 2</p>
<p>PATIENT_ID	DESCRIPTION</p>
<p>2771		MOTRIN TAB,TYLENOL TAB,ZANTAC TAB<br />
2775		ABC TAB, 123 TAB, XYZ TAB</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-218537</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 14:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-218537</guid>
		<description><![CDATA[It means that the empcode has spaces as part of it. You need to use trim functions]]></description>
		<content:encoded><![CDATA[<p>It means that the empcode has spaces as part of it. You need to use trim functions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zubius</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-216823</link>
		<dc:creator><![CDATA[Zubius]]></dc:creator>
		<pubDate>Tue, 13 Dec 2011 13:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-216823</guid>
		<description><![CDATA[Abdul -
SELECT *
 FROM Employee
  Where empcode LIKE  ‘%E123%′]]></description>
		<content:encoded><![CDATA[<p>Abdul -<br />
SELECT *<br />
 FROM Employee<br />
  Where empcode LIKE  ‘%E123%′</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Awwal Chaudhary</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-212629</link>
		<dc:creator><![CDATA[Abdul Awwal Chaudhary]]></dc:creator>
		<pubDate>Wed, 07 Dec 2011 08:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-212629</guid>
		<description><![CDATA[If I use 
SELECT * 
FROM Employee
Where LTRIM(RTRIM((empcode)) = &#039;E123&#039;

It return the result but if I omit the LTRIM and RTRIM , it shows no record found.
How to get the result without using LTRIM and RTRIM]]></description>
		<content:encoded><![CDATA[<p>If I use<br />
SELECT *<br />
FROM Employee<br />
Where LTRIM(RTRIM((empcode)) = &#8216;E123&#8242;</p>
<p>It return the result but if I omit the LTRIM and RTRIM , it shows no record found.<br />
How to get the result without using LTRIM and RTRIM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemant Ramteke</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-188271</link>
		<dc:creator><![CDATA[Hemant Ramteke]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 11:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-188271</guid>
		<description><![CDATA[In sql server TRIM function not found to trim data , but it provides LTRIM for left trim &amp; RTRIM for right trim .]]></description>
		<content:encoded><![CDATA[<p>In sql server TRIM function not found to trim data , but it provides LTRIM for left trim &amp; RTRIM for right trim .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemant Ramteke</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-188268</link>
		<dc:creator><![CDATA[Hemant Ramteke]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 11:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-188268</guid>
		<description><![CDATA[select  LTRIM(RTRIM(columnname)) as outputcolumn from tablename]]></description>
		<content:encoded><![CDATA[<p>select  LTRIM(RTRIM(columnname)) as outputcolumn from tablename</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cusman78</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-179720</link>
		<dc:creator><![CDATA[cusman78]]></dc:creator>
		<pubDate>Mon, 17 Oct 2011 01:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-179720</guid>
		<description><![CDATA[Try:
SELECT REPLACE(&#039; All  m y spaces    will be re moved &#039;,&#039; &#039;,&#039;&#039;)]]></description>
		<content:encoded><![CDATA[<p>Try:<br />
SELECT REPLACE(&#8216; All  m y spaces    will be re moved &#8216;,&#8217; &#8216;,&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: friendlink1</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-168987</link>
		<dc:creator><![CDATA[friendlink1]]></dc:creator>
		<pubDate>Sat, 17 Sep 2011 08:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-168987</guid>
		<description><![CDATA[I have to bind a nvarchar column to sql reporting services, and need to format it, if it has space between the 2 lines. Kindly help me how to do it?]]></description>
		<content:encoded><![CDATA[<p>I have to bind a nvarchar column to sql reporting services, and need to format it, if it has space between the 2 lines. Kindly help me how to do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-153123</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 03 Aug 2011 11:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-153123</guid>
		<description><![CDATA[You cannot use trim function to remove a comma. Use replace function

select replace(col,&#039;,&#039;,&#039;&#039;) from table]]></description>
		<content:encoded><![CDATA[<p>You cannot use trim function to remove a comma. Use replace function</p>
<p>select replace(col,&#8217;,',&#8221;) from table</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: H.Phaninder Reddy</title>
		<link>http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-153016</link>
		<dc:creator><![CDATA[H.Phaninder Reddy]]></dc:creator>
		<pubDate>Wed, 03 Aug 2011 06:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/#comment-153016</guid>
		<description><![CDATA[How can i remove middle characters from a string?
eg: phaninder,reddy is a name........i would like to remove &#039;,&#039; from this name using trim function..pls give me the query.....]]></description>
		<content:encoded><![CDATA[<p>How can i remove middle characters from a string?<br />
eg: phaninder,reddy is a name&#8230;&#8230;..i would like to remove &#8216;,&#8217; from this name using trim function..pls give me the query&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
