Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

The multi-part identifier "myServer.crm.dbo.data.id" could not be bound.

Posted on 2008-10-12
3
Medium Priority
?
620 Views
Last Modified: 2012-05-05
I get the following error when running a query between 2 linked servers.

The multi-part identifier "Server2.crm.dbo.data.id" could not be bound.



update data set valid = [Server2].[crm].[dbo].[data].[valid]
from  [Server2].[crm].[dbo].[data]
where data.ID =[Server2].[crm].[dbo].[data].[id]

Any ideas ?

thanks
0
Comment
Question by:JElster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 400 total points
ID: 22698942
this should work better:
update data 
  set valid = r.[valid]
from  data 
join[Server2].[crm].[dbo].[data] r
 on  data.ID = r.[id]

Open in new window

0
 
LVL 1

Author Comment

by:JElster
ID: 22698978
Thanks.. but why doesn't my original work?
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22698985
because it does not conform to the syntax requirements... that's all...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question