Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to synchronize one field
Message
 
To
05/03/2012 15:37:26
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01537311
Message ID:
01537319
Views:
69
This message has been marked as the solution to the initial question of the thread.
>>CTRL+SHIFT+R will refresh the cache for intellisense, theOtherServer\theOtherInstance would be exactly what you have in your linked server, expand the "Linked Servers" item on object explorer and the name diplayed there is the one you need to type.
>>
>>[Update]I did not mentioned it, but if you are using "theOtherServer\theOtherInstance" (ie with the backslash) then you must enclose it in square brackets as I put it in the original query
>
>I still do not understand the two word terminology here in the syntax. If you look at the attached file, you will see that I have defined a linked server. There is only one name in there. It is hidden. Lets called it MyOtherServer. So, in the syntax, I have something like this:
>
>
>UPDATE Client
> SET Address=o.Address FROM Client m
> JOIN MyOtherServer.MyDatabase.Client o on o.Numero=m.Numero
>
Try
UPDATE Client
 SET Address=o.Address FROM Client m
 JOIN MyOtherServer.MyDatabase.dbo.Client o on o.Numero=m.Numero
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform