Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update from inner SQL
Message
De
01/03/2011 18:51:45
 
 
À
01/03/2011 18:46:34
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
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:
01502274
Message ID:
01502297
Vues:
22
>I checked version 9 and this update works
>
>update site set ss.siteCat = 1
>from site as ss join trans t
>on t.siteno = ss.siteno
>where ss.recno = 9000016

Ok, this syntax is a little bit different than in my example. In my example, the Update clause includes the alias and not the table name. Maybe we should had only to replace the Update clause with the table name instead of the alias.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform