<?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; Find Length of Text Field</title>
	<atom:link href="http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 08:55:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Genxcat</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-247054</link>
		<dc:creator><![CDATA[Genxcat]]></dc:creator>
		<pubDate>Thu, 02 Feb 2012 14:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-247054</guid>
		<description><![CDATA[Thank you for having the perfect answer.  I always come here first, as I have found most of what I have ever questioned answered here.]]></description>
		<content:encoded><![CDATA[<p>Thank you for having the perfect answer.  I always come here first, as I have found most of what I have ever questioned answered here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathi</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-186261</link>
		<dc:creator><![CDATA[sathi]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 06:48:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-186261</guid>
		<description><![CDATA[Really nice]]></description>
		<content:encoded><![CDATA[<p>Really nice</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-172058</link>
		<dc:creator><![CDATA[Ajay]]></dc:creator>
		<pubDate>Mon, 26 Sep 2011 09:51:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-172058</guid>
		<description><![CDATA[Amit, try using the command DATALENGTH().]]></description>
		<content:encoded><![CDATA[<p>Amit, try using the command DATALENGTH().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-161880</link>
		<dc:creator><![CDATA[Amit]]></dc:creator>
		<pubDate>Thu, 25 Aug 2011 16:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-161880</guid>
		<description><![CDATA[How can i find the length of the memo field (ntext). through sql query.
The len() function is not working for memo datatypes.

kindly suggest

Thanks
Amit]]></description>
		<content:encoded><![CDATA[<p>How can i find the length of the memo field (ntext). through sql query.<br />
The len() function is not working for memo datatypes.</p>
<p>kindly suggest</p>
<p>Thanks<br />
Amit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaheer</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-153554</link>
		<dc:creator><![CDATA[jaheer]]></dc:creator>
		<pubDate>Thu, 04 Aug 2011 07:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-153554</guid>
		<description><![CDATA[pking,

Thanks for the reply, i have found the solution for the issue.it simple we need to use the below command from sqlcmd to fetch  a row  having column with more than 10000 characters.

sqlcmd -S 10.11.111.121 -U sa -P abc@123 -d DBNAMe -i ./conf/SQL.Archive_query.conf.sql -o ./tmp/sqlserver/SDS_Archive_Update.ddl -y 0

-y 0 --&gt; Using this option will increase the length of a row]]></description>
		<content:encoded><![CDATA[<p>pking,</p>
<p>Thanks for the reply, i have found the solution for the issue.it simple we need to use the below command from sqlcmd to fetch  a row  having column with more than 10000 characters.</p>
<p>sqlcmd -S 10.11.111.121 -U sa -P abc@123 -d DBNAMe -i ./conf/SQL.Archive_query.conf.sql -o ./tmp/sqlserver/SDS_Archive_Update.ddl -y 0</p>
<p>-y 0 &#8211;&gt; Using this option will increase the length of a row</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VICKI</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-153031</link>
		<dc:creator><![CDATA[VICKI]]></dc:creator>
		<pubDate>Wed, 03 Aug 2011 06:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-153031</guid>
		<description><![CDATA[Wow!  Sooo simple.  Used it.  Loves it.]]></description>
		<content:encoded><![CDATA[<p>Wow!  Sooo simple.  Used it.  Loves it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dilip Singh</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-148914</link>
		<dc:creator><![CDATA[Dilip Singh]]></dc:creator>
		<pubDate>Sun, 17 Jul 2011 11:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-148914</guid>
		<description><![CDATA[Are you use access database?
if yes then take data type memo.
if you use sqlserver 2005/08 there are no text data type
there you can use nvarchar(max)]]></description>
		<content:encoded><![CDATA[<p>Are you use access database?<br />
if yes then take data type memo.<br />
if you use sqlserver 2005/08 there are no text data type<br />
there you can use nvarchar(max)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cortiney</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-144244</link>
		<dc:creator><![CDATA[Cortiney]]></dc:creator>
		<pubDate>Mon, 27 Jun 2011 19:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-144244</guid>
		<description><![CDATA[This is the most helpful thing EVER. Thank you!]]></description>
		<content:encoded><![CDATA[<p>This is the most helpful thing EVER. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srikanth Nallamothu</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-141618</link>
		<dc:creator><![CDATA[Srikanth Nallamothu]]></dc:creator>
		<pubDate>Fri, 17 Jun 2011 11:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-141618</guid>
		<description><![CDATA[ANOTHER USE OF LEN() AND DATALENGTH() ARE :-

	SELECT LEN(&#039;SRI       &#039;)			-- 3
	SELECT DATALENGTH(&#039;SRI      &#039;)		-- 9

LEN() IGNORES THE SPACES BUT NOT DATALENGTH()]]></description>
		<content:encoded><![CDATA[<p>ANOTHER USE OF LEN() AND DATALENGTH() ARE :-</p>
<p>	SELECT LEN(&#8216;SRI       &#8216;)			&#8211; 3<br />
	SELECT DATALENGTH(&#8216;SRI      &#8216;)		&#8211; 9</p>
<p>LEN() IGNORES THE SPACES BUT NOT DATALENGTH()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pking</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-139445</link>
		<dc:creator><![CDATA[pking]]></dc:creator>
		<pubDate>Tue, 07 Jun 2011 13:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-139445</guid>
		<description><![CDATA[jaheer,
Not sure this helps but in SQL Server 2008 the maximum number of bytes per row is 8,060. This restriction is relaxed for tables with varchar, nvarchar, varbinary, or sql_variant columns that cause the total defined table width to exceed 8,060 bytes. The lengths of each one of these columns must still fall within the limit of 8,000 bytes, but their combined widths may exceed the 8,060 byte limit in a table. For more information, see Row-Overflow Data Exceeding 8 KB in BOL]]></description>
		<content:encoded><![CDATA[<p>jaheer,<br />
Not sure this helps but in SQL Server 2008 the maximum number of bytes per row is 8,060. This restriction is relaxed for tables with varchar, nvarchar, varbinary, or sql_variant columns that cause the total defined table width to exceed 8,060 bytes. The lengths of each one of these columns must still fall within the limit of 8,000 bytes, but their combined widths may exceed the 8,060 byte limit in a table. For more information, see Row-Overflow Data Exceeding 8 KB in BOL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaheer</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-130342</link>
		<dc:creator><![CDATA[jaheer]]></dc:creator>
		<pubDate>Thu, 21 Apr 2011 10:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-130342</guid>
		<description><![CDATA[I am sending the output of a query to a file and unfortunately every row is containing only a certain number of characters. My query has rows having length more than 10000 characters for each row. When I get the query and send it to a file I am seeing only the first 250 characters for each row instead of 10000  characters.

I will be grateful if anyone can help me suggesting a solution for this problem.

I appreciate your help in advance.

i tried this option which is not helping in my case as the max it support is 8192 
Go to Tools --&gt; Options --&gt; Results tab. Change the &quot;Maximum characters per column&quot; The default is 256]]></description>
		<content:encoded><![CDATA[<p>I am sending the output of a query to a file and unfortunately every row is containing only a certain number of characters. My query has rows having length more than 10000 characters for each row. When I get the query and send it to a file I am seeing only the first 250 characters for each row instead of 10000  characters.</p>
<p>I will be grateful if anyone can help me suggesting a solution for this problem.</p>
<p>I appreciate your help in advance.</p>
<p>i tried this option which is not helping in my case as the max it support is 8192<br />
Go to Tools &#8211;&gt; Options &#8211;&gt; Results tab. Change the &#8220;Maximum characters per column&#8221; The default is 256</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-114978</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 28 Jan 2011 10:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-114978</guid>
		<description><![CDATA[select left(col,100) from table]]></description>
		<content:encoded><![CDATA[<p>select left(col,100) from table</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ranjeet kumar</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-114399</link>
		<dc:creator><![CDATA[Ranjeet kumar]]></dc:creator>
		<pubDate>Wed, 26 Jan 2011 09:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-114399</guid>
		<description><![CDATA[Hello All

I want  to fetch  only 100 character from spacific column, plz tell me what is query for that.]]></description>
		<content:encoded><![CDATA[<p>Hello All</p>
<p>I want  to fetch  only 100 character from spacific column, plz tell me what is query for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ogechi</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-101714</link>
		<dc:creator><![CDATA[ogechi]]></dc:creator>
		<pubDate>Tue, 23 Nov 2010 18:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-101714</guid>
		<description><![CDATA[Thank you!]]></description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-101673</link>
		<dc:creator><![CDATA[Vinod]]></dc:creator>
		<pubDate>Tue, 23 Nov 2010 12:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-101673</guid>
		<description><![CDATA[Sir can please you let me know that what is difference between LEN and DATALENGTH]]></description>
		<content:encoded><![CDATA[<p>Sir can please you let me know that what is difference between LEN and DATALENGTH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miriam</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96960</link>
		<dc:creator><![CDATA[Miriam]]></dc:creator>
		<pubDate>Sun, 31 Oct 2010 12:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96960</guid>
		<description><![CDATA[The problem is not to VIEW the content  BUT to insert the whole text. the text is not inserted completely and is truncated...]]></description>
		<content:encoded><![CDATA[<p>The problem is not to VIEW the content  BUT to insert the whole text. the text is not inserted completely and is truncated&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96253</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 28 Oct 2010 08:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96253</guid>
		<description><![CDATA[Why do you need this? If you want to view full content, export to text file and view from there]]></description>
		<content:encoded><![CDATA[<p>Why do you need this? If you want to view full content, export to text file and view from there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miriam</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96158</link>
		<dc:creator><![CDATA[Miriam]]></dc:creator>
		<pubDate>Wed, 27 Oct 2010 19:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96158</guid>
		<description><![CDATA[Thanks a lot!

I want to increase the text size in one specific DB. I see that the maximum text field size I already have is around 32,000 characters but text with 40,000 characters was truncated.

How can i increase text size in specific DB or table?]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot!</p>
<p>I want to increase the text size in one specific DB. I see that the maximum text field size I already have is around 32,000 characters but text with 40,000 characters was truncated.</p>
<p>How can i increase text size in specific DB or table?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abc</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96154</link>
		<dc:creator><![CDATA[abc]]></dc:creator>
		<pubDate>Wed, 27 Oct 2010 19:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-96154</guid>
		<description><![CDATA[The msdn website shows that len and datalength functions are different. 

LEN- Returns the number of characters of the specified string expression, excluding trailing blanks.

DATALENGTH - Returns the number of bytes used to represent any expression.]]></description>
		<content:encoded><![CDATA[<p>The msdn website shows that len and datalength functions are different. </p>
<p>LEN- Returns the number of characters of the specified string expression, excluding trailing blanks.</p>
<p>DATALENGTH &#8211; Returns the number of bytes used to represent any expression.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaronls</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-93116</link>
		<dc:creator><![CDATA[aaronls]]></dc:creator>
		<pubDate>Thu, 14 Oct 2010 22:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-93116</guid>
		<description><![CDATA[My SQL related googling always leads me to your blog, and your articles are usually pretty helpful.  Thanks!]]></description>
		<content:encoded><![CDATA[<p>My SQL related googling always leads me to your blog, and your articles are usually pretty helpful.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pralhad</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-81066</link>
		<dc:creator><![CDATA[Pralhad]]></dc:creator>
		<pubDate>Wed, 21 Jul 2010 07:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-81066</guid>
		<description><![CDATA[Thanks Alot.
I got what i wanted since many days.
I was trying LENGTH bat it wasnt working.
Thanks alot once again.]]></description>
		<content:encoded><![CDATA[<p>Thanks Alot.<br />
I got what i wanted since many days.<br />
I was trying LENGTH bat it wasnt working.<br />
Thanks alot once again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surender</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-64740</link>
		<dc:creator><![CDATA[Surender]]></dc:creator>
		<pubDate>Wed, 07 Apr 2010 14:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-64740</guid>
		<description><![CDATA[I have a tabe in oracle which has a varchar field with length of 48. I need to select records that are not in the length of either 8, 15 &amp; 16 size.
The second criteria is to identify records which are not numeric i.e. any character value should be displayed.]]></description>
		<content:encoded><![CDATA[<p>I have a tabe in oracle which has a varchar field with length of 48. I need to select records that are not in the length of either 8, 15 &amp; 16 size.<br />
The second criteria is to identify records which are not numeric i.e. any character value should be displayed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-63016</link>
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 16 Mar 2010 14:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-63016</guid>
		<description><![CDATA[Just what I needed, thank you]]></description>
		<content:encoded><![CDATA[<p>Just what I needed, thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-61276</link>
		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 15:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-61276</guid>
		<description><![CDATA[Hello,

I have a table which has field1, field2 and field3 columns of type int, the combination of those columns represent 10 digit phone number. I know field3 always have 4 digits, but MS SQL trims the right most 0s. all i am tring to acheive is to provide the user with one field 10 digit number. 

here is my query:

INSERT INTO [Info Direct Res new]
SELECT &#039;Info Direct&#039;, /* Datbase Name */
DECLARE @MAX_FIELD_LEN int;
DECLARE @fieldLength int;
SET @MAX_FIELD_LEN=4;
SET @fieldLength = len(Cast(field3 as varchar));
cast(field1 as varchar)+cast(field2 as varchar)+RIGHT(&#039;0&#039;,@MAX_FIELD_LEN-@fieldLength)+Cast(field3 as varchar), /* Phone Number */
field5, /*First name*/ 
field6, /*Last Name*/
ISNULL(field8,&#039;&#039;) + &#039; &#039; + ISNULL(field9,&#039;&#039;)+ &#039; &#039; + ISNULL(field10,&#039;&#039;)+ &#039; &#039; + ISNULL(field11,&#039;&#039;)+ &#039; &#039; + ISNULL(field12,&#039;&#039;), /* Full Address */
field13, /* city */
field14, /* province */
field15, /* postal code */
&#039; &#039;
from stcir1001

I get syntax error where i say declare 

thanks,]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have a table which has field1, field2 and field3 columns of type int, the combination of those columns represent 10 digit phone number. I know field3 always have 4 digits, but MS SQL trims the right most 0s. all i am tring to acheive is to provide the user with one field 10 digit number. </p>
<p>here is my query:</p>
<p>INSERT INTO [Info Direct Res new]<br />
SELECT &#8216;Info Direct&#8217;, /* Datbase Name */<br />
DECLARE @MAX_FIELD_LEN int;<br />
DECLARE @fieldLength int;<br />
SET @MAX_FIELD_LEN=4;<br />
SET @fieldLength = len(Cast(field3 as varchar));<br />
cast(field1 as varchar)+cast(field2 as varchar)+RIGHT(&#8217;0&#8242;,@MAX_FIELD_LEN-@fieldLength)+Cast(field3 as varchar), /* Phone Number */<br />
field5, /*First name*/<br />
field6, /*Last Name*/<br />
ISNULL(field8,&#8221;) + &#8216; &#8216; + ISNULL(field9,&#8221;)+ &#8216; &#8216; + ISNULL(field10,&#8221;)+ &#8216; &#8216; + ISNULL(field11,&#8221;)+ &#8216; &#8216; + ISNULL(field12,&#8221;), /* Full Address */<br />
field13, /* city */<br />
field14, /* province */<br />
field15, /* postal code */<br />
&#8216; &#8216;<br />
from stcir1001</p>
<p>I get syntax error where i say declare </p>
<p>thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-61259</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 13:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/20/sql-server-find-length-of-text-field/#comment-61259</guid>
		<description><![CDATA[It is formation issue. If you use front end application do the formation there]]></description>
		<content:encoded><![CDATA[<p>It is formation issue. If you use front end application do the formation there</p>
]]></content:encoded>
	</item>
</channel>
</rss>

