Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update from inner SQL
Message
From
01/03/2011 19:18:32
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
01/03/2011 19:00:17
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01502274
Message ID:
01502309
Views:
20
I was curious so I tried this syntax on Postgres and it did not work as well. Personally, I like to see the table name as being updated. Updating an alias just seems wrong to me.

>>I take all that back. This does not work.
>>update ss set ss.siteCat = 1
>>from site as ss join trans t
>>on t.siteno = ss.siteno
>>where ss.recno = 9000016
>
>So, it seems SQL Server goes a little bit far more into support extra syntax, such as the one in my example. I got used to that. But, when trying the same SQL on that backend, it didn't. So, I guess that part was not fully SQL ANSI compliant. Is that also your findings?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform