Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way to synchronize one field
Message
De
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:
01537318
Vues:
31
>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
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform