<?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"
	>
<channel>
	<title>Comments on: SQL Server and Collation settings</title>
	<atom:link href="http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/</link>
	<description>Thoughts. Comment. Opinion.</description>
	<pubDate>Wed, 07 Jan 2009 03:33:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Grant S</title>
		<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/#comment-21717</link>
		<dc:creator>Grant S</dc:creator>
		<pubDate>Thu, 29 Nov 2007 21:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.leyton.org/diary/2004/08/12/sql-server-and-collation-settings/#comment-21717</guid>
		<description>&lt;p&gt;Another approach in SQL Server 2005 is to simply assign the desired collation to whichever column(s) in the temporary tables require it. You can use the COLLATE keyword with "database_default" to explicitly assign the current database's collation setting to a column in a temporary table. Ex:&lt;/p&gt;

&lt;p&gt;create table #MyTemp
(
     ListItem varchar (200) COLLATE database_default
)                  &lt;/p&gt;

&lt;p&gt;This solves the "Cannot resolve collation conflict for equal to operation." error.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another approach in SQL Server 2005 is to simply assign the desired collation to whichever column(s) in the temporary tables require it. You can use the COLLATE keyword with &#8220;database_default&#8221; to explicitly assign the current database&#8217;s collation setting to a column in a temporary table. Ex:</p>
<p>create table #MyTemp<br />
(<br />
     ListItem varchar (200) COLLATE database_default<br />
)                  </p>
<p>This solves the &#8220;Cannot resolve collation conflict for equal to operation.&#8221; error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: info</title>
		<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/#comment-21392</link>
		<dc:creator>info</dc:creator>
		<pubDate>Sun, 11 Nov 2007 15:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.leyton.org/diary/2004/08/12/sql-server-and-collation-settings/#comment-21392</guid>
		<description>&lt;p&gt;How to get rid of this message when using application thru SQL ODBC DNS-connection using English and Arabic with SQL 2005 server..&lt;/p&gt;

&lt;p&gt;[Microsft] ODBC SQL Server Deriver Cannot resolve the collation conflict between    "Arabic&lt;em&gt;BIN" and "SQL&lt;/em&gt;Latin1&lt;em&gt;General&lt;/em&gt;CP1256&lt;em&gt;CS&lt;/em&gt;AS" in the equal to operation. ODBC SQL Server Driver cannot resolve the collation conflict&lt;/p&gt;

&lt;p&gt;any suggestion
thanks in advance&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How to get rid of this message when using application thru SQL ODBC DNS-connection using English and Arabic with SQL 2005 server..</p>
<p>[Microsft] ODBC SQL Server Deriver Cannot resolve the collation conflict between    &#8220;Arabic<em>BIN&#8221; and &#8220;SQL</em>Latin1<em>General</em>CP1256<em>CS</em>AS&#8221; in the equal to operation. ODBC SQL Server Driver cannot resolve the collation conflict</p>
<p>any suggestion<br />
thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seb</title>
		<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/#comment-21087</link>
		<dc:creator>Seb</dc:creator>
		<pubDate>Sun, 07 Oct 2007 04:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.leyton.org/diary/2004/08/12/sql-server-and-collation-settings/#comment-21087</guid>
		<description>&lt;p&gt;Yeah, I agreed with Patrice with selecting "1252 Character Set" instead of installing MS SQL Server 2005 Developer Edition with "default General Latin...".. helps me.&lt;/p&gt;

&lt;p&gt;In short, I now understands that the default "General Latin..." in my Notebook will install my server collation as "Latin1&lt;em&gt;General&lt;/em&gt;CP1&lt;em&gt;CI&lt;/em&gt;AS" not what I needed (preferred "SQL&lt;em&gt;Latin1&lt;/em&gt;General&lt;em&gt;CP1&lt;/em&gt;CI_AS:")&lt;/p&gt;

&lt;p&gt;Just to ellaborate a bit... Using MS SQL Server 2005 Developer Edition installation CD, What I tried installing with the default "General Latin.." and I ended up with the server collation as Latin1&lt;em&gt;General&lt;/em&gt;CP1&lt;em&gt;CI&lt;/em&gt;AS.. With this collation it caused all of my ASP.Net projects to have "Collation conflicts" problems whenever I exec the Stored Procedures...  &lt;/p&gt;

&lt;p&gt;This really fixed it.. Thanks Patrice !&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah, I agreed with Patrice with selecting &#8220;1252 Character Set&#8221; instead of installing MS SQL Server 2005 Developer Edition with &#8220;default General Latin&#8230;&#8221;.. helps me.</p>
<p>In short, I now understands that the default &#8220;General Latin&#8230;&#8221; in my Notebook will install my server collation as &#8220;Latin1<em>General</em>CP1<em>CI</em>AS&#8221; not what I needed (preferred &#8220;SQL<em>Latin1</em>General<em>CP1</em>CI_AS:&#8221;)</p>
<p>Just to ellaborate a bit&#8230; Using MS SQL Server 2005 Developer Edition installation CD, What I tried installing with the default &#8220;General Latin..&#8221; and I ended up with the server collation as Latin1<em>General</em>CP1<em>CI</em>AS.. With this collation it caused all of my <a href="http://ASP.Net" title="http://ASP.Net" target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/comment/ASP.Net');">ASP.Net</a> projects to have &#8220;Collation conflicts&#8221; problems whenever I exec the Stored Procedures&#8230;  </p>
<p>This really fixed it.. Thanks Patrice !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrice</title>
		<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/#comment-19667</link>
		<dc:creator>Patrice</dc:creator>
		<pubDate>Mon, 16 Apr 2007 16:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.leyton.org/diary/2004/08/12/sql-server-and-collation-settings/#comment-19667</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I add to choose the "1252 Character Set" for me to get the SQL&lt;em&gt;Latin1&lt;/em&gt;General&lt;em&gt;CP1&lt;/em&gt;CI_AS collation.&lt;/p&gt;

&lt;p&gt;Apart of this, your information did work great for me.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I add to choose the &#8220;1252 Character Set&#8221; for me to get the SQL<em>Latin1</em>General<em>CP1</em>CI_AS collation.</p>
<p>Apart of this, your information did work great for me.</p>
<p>Best regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig LB</title>
		<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/#comment-19587</link>
		<dc:creator>Craig LB</dc:creator>
		<pubDate>Wed, 11 Apr 2007 16:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.leyton.org/diary/2004/08/12/sql-server-and-collation-settings/#comment-19587</guid>
		<description>&lt;p&gt;Hi Rose,&lt;/p&gt;

&lt;p&gt;I've used this before to accomplish that :-&lt;/p&gt;

&lt;p&gt;ALTER DATABASE MyDatabase COLLATE &lt;/p&gt;

&lt;p&gt;Hope it helps&lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Rose,</p>
<p>I&#8217;ve used this before to accomplish that :-</p>
<p>ALTER DATABASE MyDatabase COLLATE </p>
<p>Hope it helps</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rose</title>
		<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/#comment-19322</link>
		<dc:creator>Rose</dc:creator>
		<pubDate>Mon, 26 Feb 2007 16:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.leyton.org/diary/2004/08/12/sql-server-and-collation-settings/#comment-19322</guid>
		<description>&lt;p&gt;OK .. that is when the SQL installation was wrong ... I have things reversed.  My new SQL environment is SQL_Latin1 ... but I have an older database that is Latin1-general ... how do I change just one db?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>OK .. that is when the SQL installation was wrong &#8230; I have things reversed.  My new SQL environment is SQL_Latin1 &#8230; but I have an older database that is Latin1-general &#8230; how do I change just one db?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asghar</title>
		<link>http://www.leyton.org/2004/08/12/sql-server-and-collation-settings/#comment-19321</link>
		<dc:creator>Asghar</dc:creator>
		<pubDate>Tue, 07 Nov 2006 14:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.leyton.org/diary/2004/08/12/sql-server-and-collation-settings/#comment-19321</guid>
		<description>&lt;p&gt;I am replicating three databases between two sql 2005 servers two of them are replication fine even though they are different collations but one db is giving me this error so I believe I would be reinstalling sql again :(.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am replicating three databases between two sql 2005 servers two of them are replication fine even though they are different collations but one db is giving me this error so I believe I would be reinstalling sql again :(.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
