The reason why I disagree is that by using views, table value functions or whatever you are breaking a larger task or query down into manageable chunks. Get each bit working first, hell you can even apply unit testing now in sql if you want to go that far. The resulting query is much easier to read. Following naming conventions, formatting etc is a necessary of course but a big ass query is still a big ass query at the end of the day.
Just my opinion, and that isnt to say I cant see where youre coming from Spacecadet.
Just my opinion, and that isnt to say I cant see where youre coming from Spacecadet.
Comment