Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select and Update
Message
 
 
À
30/11/2010 18:10:12
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:
01491203
Message ID:
01491232
Vues:
42
>>FROM should be after SET. Don't you know UPDATE syntax?
>
>I never used a FROM clause in the UPDATE command before.

And you may be right in that. See this interesting blog

http://bradsruminations.blogspot.com/2010/02/dear-from-clause.html

Using FROM in the UPDATE is dangerous. With cte the danger is a bit reduced.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform