Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update and Set in one statement?
Message
From
30/11/2014 05:06:08
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2014
Application:
Web
Miscellaneous
Thread ID:
01611535
Message ID:
01611566
Views:
35
>
>>Why putting both the UPDATE and SET in the same expression is not a good suggestion?
>
>Because this is not documented as far as I know and you don't want to use undocumented features.

Naomi, this approach is documented and has been used by DBAs for years (among other reasons) as a way to simulate a factory sequence object.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform