Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way to synchronize one field
Message
 
À
05/03/2012 15:37:26
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01537311
Message ID:
01537319
Vues:
68
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform