Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Continuation of Message #1594531 - Use of WHERE
Message
From
22/02/2014 11:54:39
 
 
To
22/02/2014 08:09:38
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01594922
Message ID:
01594942
Views:
39
>Through i recognise the place of CTE's , I really hate to use them, and would avoid them whenever possible. One of the problems is that it is not an ANSI standard and often there is a better (readable and maintainable) alternative.
>
>Interesting. I really like CTEs and I think that, in many instances, replacing derived tables with them makes the code much more readable and maintainable.


Several years ago, I did a quick poll on a newsgroup and asked 20 developers that very question. The results were 10 liking it, 10 not. :)

(Yes, I know that's not scientific, so not looking for anyone to get out the "anecdote does not equal information" flag)


I thought T-SQL for five years and sometimes used CTEs as a way to introduce the concept of derived table subqueries to people who hadn't been exposed to them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform