zlacker

[parent] [thread] 0 comments
1. RaftPe+(OP)[view] [source] 2024-08-25 15:42:03
> What’s wrong with CTEs though?

At least in SQL Server CTE's are syntax level, so multiple uses of a CTE in a query causes it to get expanded in each of those places, which typically increases the complexity of the query and can cause issues with the optimizer and performance.

[go to top]