<?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: String or binary data would be truncated.</title>
	<atom:link href="http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/</link>
	<description>SQL Server Performance Tuning</description>
	<lastBuildDate>Fri, 17 May 2013 13:31:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Girish Sharma</title>
		<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/#comment-3151</link>
		<dc:creator>Girish Sharma</dc:creator>
		<pubDate>Mon, 25 Feb 2013 14:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1195#comment-3151</guid>
		<description><![CDATA[thank you sir, i was looking for this solution.i was putting 15 character in a column where i set its datatype varchar(10) only. it worked thanks]]></description>
		<content:encoded><![CDATA[<p>thank you sir, i was looking for this solution.i was putting 15 character in a column where i set its datatype varchar(10) only. it worked thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steph</title>
		<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/#comment-826</link>
		<dc:creator>Steph</dc:creator>
		<pubDate>Wed, 09 Nov 2011 14:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1195#comment-826</guid>
		<description><![CDATA[Well not always.
Here&#039;s a statement with the same failure and it turns out that a space after the period is the problem.
Move the space to the left of the &#039;.&#039; and it is fine.
===============
DECLARE @ag TABLE ( id INT, NAME VARCHAR(20) )
INSERT  INTO @ag
        SELECT  id ,
                name
        FROM    dbo.AG
        WHERE   customerid = 1
                AND name IN (&#039;Foxborough Reg. Charter&#039;)
=========================
This would work.
...
WHERE   customerid = 1
                AND name IN (&#039;Foxborough Reg .Charter&#039;)
-------------------------
Interesting that the &#039;.&#039; is like a delimiter.
Watch out for this cause it means your query is not correct]]></description>
		<content:encoded><![CDATA[<p>Well not always.<br />
Here&#8217;s a statement with the same failure and it turns out that a space after the period is the problem.<br />
Move the space to the left of the &#8216;.&#8217; and it is fine. </p>
<p>===============<br />
DECLARE @ag TABLE ( id INT, NAME VARCHAR(20) )<br />
INSERT  INTO @ag<br />
        SELECT  id ,<br />
                name<br />
        FROM    dbo.AG<br />
        WHERE   customerid = 1<br />
                AND name IN (&#8216;Foxborough Reg. Charter&#8217;)<br />
=========================<br />
This would work.<br />
&#8230;<br />
WHERE   customerid = 1<br />
                AND name IN (&#8216;Foxborough Reg .Charter&#8217;)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Interesting that the &#8216;.&#8217; is like a delimiter.<br />
Watch out for this cause it means your query is not correct</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satish</title>
		<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/#comment-792</link>
		<dc:creator>Satish</dc:creator>
		<pubDate>Wed, 02 Nov 2011 07:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1195#comment-792</guid>
		<description><![CDATA[No need of changing the column width just use CAST function with required length]]></description>
		<content:encoded><![CDATA[<p>No need of changing the column width just use CAST function with required length</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mary</title>
		<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/#comment-777</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Thu, 27 Oct 2011 18:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1195#comment-777</guid>
		<description><![CDATA[Thank you so much, i hadn’t noticed that i was making a huge mistake, you made my day]]></description>
		<content:encoded><![CDATA[<p>Thank you so much, i hadn’t noticed that i was making a huge mistake, you made my day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suneel</title>
		<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/#comment-622</link>
		<dc:creator>suneel</dc:creator>
		<pubDate>Tue, 20 Sep 2011 09:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1195#comment-622</guid>
		<description><![CDATA[sir how to fix a [Binary Data] error in microsoft VSTS.]]></description>
		<content:encoded><![CDATA[<p>sir how to fix a [Binary Data] error in microsoft VSTS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamed Azzouzi</title>
		<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/#comment-604</link>
		<dc:creator>Mohamed Azzouzi</dc:creator>
		<pubDate>Tue, 13 Sep 2011 19:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1195#comment-604</guid>
		<description><![CDATA[Hi,
How do you figure out which field that causes the error?
Cheers,
Mohamed]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
How do you figure out which field that causes the error?<br />
Cheers,<br />
Mohamed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://www.sql-server-performance.com/2007/string-or-binary-data-truncated/#comment-412</link>
		<dc:creator>Vinod</dc:creator>
		<pubDate>Fri, 24 Jun 2011 06:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1195#comment-412</guid>
		<description><![CDATA[yes .. you are right]]></description>
		<content:encoded><![CDATA[<p>yes .. you are right</p>
]]></content:encoded>
	</item>
</channel>
</rss>
