[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

07/05/2004 at 09:49AM PDT, ID: 21048175
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

Cannot resolve collation conflict for equal to operation.

Asked by kinton in Databases Miscellaneous

Tags: collation, conflict, resolve, cannot, equal

Hi,

Can anyone tell me why I am getting the following error message and how to solve it for the SQL code below:

Cannot resolve collation conflict for equal to operation.


As you can see, ContactId is the primary Key I always link back to.

Points worth noting.

All tables are in the same database
ContactId has the same field type, field length and collation type in all instances.
I am running this on SQL server 2000 in query analyzer



SELECT     (SELECT     COUNT(*)
                       FROM          tblcontactprofiles
                       WHERE      contactid = tblcontacts.contactid AND activestatus = 'A') AS Profiles, ISNULL(Surname, '') + ', ' + ISNULL(Title, '') + ' ' + ISNULL(Christian, '')
                      AS Contact, Surname AS Expr1,
                          (SELECT     MAX(contacttype)
                            FROM          tblcontacttypes
                            WHERE      contacttypeid = tblcontacts.contacttypeid) AS jobfunction,
                          (SELECT     MAX([emailaddress])
                            FROM          tblemailaddresses
                            WHERE      contactid = tblcontacts.contactid) AS email,
                          (SELECT     COUNT(*)
                            FROM          tblinvestmentplans
                            WHERE      contactid = tblcontacts.contactid) AS investmentplans, LEN(AdditionalResponsibilities) / 4 AS AdditionalContactTypes,
                      CustomerAccountNumber AS Expr2, *
FROM         dbo.tblContacts
WHERE     (EducationNumber = 3573)

thanks in advance
[+][-]07/08/04 02:37 AM, ID: 11499985

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Databases Miscellaneous
Tags: collation, conflict, resolve, cannot, equal
Sign Up Now!
Solution Provided By: sandeshj
Participating Experts: 4
Solution Grade: A
 
 
[+][-]07/05/04 06:54 PM, ID: 11477117

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/06/04 01:17 AM, ID: 11478706

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/06/04 01:34 AM, ID: 11478780

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/06/04 09:27 AM, ID: 11482833

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/06/04 01:47 PM, ID: 11485785

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/08/04 02:15 AM, ID: 11499903

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/08/04 02:15 AM, ID: 11499906

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/09/04 03:52 PM, ID: 11758010

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/09/04 09:15 PM, ID: 11759467

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/09/04 09:19 PM, ID: 11759483

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/30/04 06:39 AM, ID: 12189771

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]10/04/04 03:37 PM, ID: 12222117

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07/20/05 09:07 AM, ID: 14486143

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091028-EE-VQP-86 - Hierarchy