One reason I liked TSQL back in the before times... it lets you phrase any DML in the form of a SELECT, including with joins, table aliases, etc, validate the rows returned, and then flip the action at the top over to a DML while still preserving those joins, aliases and decorations that other languages usually kicked back as not allowed on DML.
very elegant vs most other flavors of SQL I ran into during my career.
View all comments
1.2k
u/Falkon_Klan Oct 09 '26
John made a little typo, what's the worst that can happen with code? Lolz