Advertisement

06.18.2007 at 09:01AM PDT, ID: 22640924
[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.6

I don't want a CROSS JOIN, just update one table from another table

Asked by megnin in Data Manipulation, MS SQL Server, Visual Studio

Tags: , , ,

I'm trying to update one table with values from another table, but am having trouble with the syntax being changed by VS 2005 which adds a Cross Join to my query.

Here is what I want to do:
Set the MI field in Applicants to equal the value of the MI field in "z" (the one with the long name).

UPDATE    Applicants
SET              MI = z.MI
FROM         Applicants AS a INNER JOIN
                      zFrom_MIP_Import_0615_to_DB as z ON a.keyApplicantID = z.keyApplicantID

Both Visual Studio 2005 and SQL Server Management Studio Express change it to:
UPDATE    Applicants
SET              MI = z.MI
FROM         Applicants AS a INNER JOIN
                      zFrom_MIP_Import_0615_to_DB AS z ON a.keyApplicantID = z.keyApplicantID CROSS JOIN
                      Applicants

I'm pretty sure I don't want a Cross Join.   What am I doing wrong?Start Free Trial
 
 
[+][-]06.18.2007 at 09:08AM PDT, ID: 19308299

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.18.2007 at 09:28AM PDT, ID: 19308491

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.18.2007 at 10:08AM PDT, ID: 19308737

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.18.2007 at 10:08AM PDT, ID: 19308741

View this solution now by starting your 7-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

Zones: Data Manipulation, MS SQL Server, Visual Studio
Tags: join, cross, update, table
Sign Up Now!
Solution Provided By: _agx_
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.18.2007 at 05:20PM PDT, ID: 19312200

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.18.2007 at 08:46PM PDT, ID: 19313023

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2007 at 07:01AM PDT, ID: 19315851

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.19.2007 at 02:00PM PDT, ID: 19319890

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32