title: SQL Server query against two linked databases using different collations
body: <p>I've got 2 remote databases as part of a query </p>
  
  <pre><code>select p.ID,p.ProjectCode_VC,p.Name_VC,v.*
  FROM [serverB].Projects.dbo.Projects_T p
  LEFT JOIN [serverA].SOCON.dbo.vw_PROJECT v on
  p.ProjectCode_VC = v.PROJ_CODE
  </code></pre>
  
  <p>The problem is that serverA uses collation <code>Latin1_General_BIN</code> and serverB uses <code>Latin1_General_CP1_CP_AS</code> and the query refuses to run.  </p>
  
  <p>Both servers are SQL 2000 servers.  Both databases are set in stone so I cannot change their collations, unfortunately.  </p>
  
  <p>Is there anyway you guys know how to get this to work?</p>
  
  <p><strong>Update:</strong>  I found an alternative solution.  In the Linked Server Properties, you can specify the linked server's collation there.</p>