Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select and Update
Message
 
 
To
30/11/2010 18:10:12
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01491203
Message ID:
01491232
Views:
41
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform