Live classes start in 2d 08h 36m — Save your seat

T-SQL Code Quality and Query Patterns

Maintainable T-SQL and patterns that avoid correctness and performance problems.

106 associated posts102 primary posts

T-SQL & Development

Windowing Function Examples for SQL Server

Aggregations and grouping can be a pain in the rear for the novice SQL developer. Way back in 2003, the ANSI/ISO standards people figured this out and added windows and ranking functions to the standard. In 2005, Microsoft added a few of these functions (ROW_NUMBER(), RANK(), DENSE_RANK(), and NTILE()) as well as the OVER() clause…

Read more about Windowing Function Examples for SQL Server 13 comments — Join the discussion
T-SQL & Development

Why Use Schemas?

The ever-insightful Buck Woody (Blog - @BuckWoody) wrote a post telling you to use database schemas.  He writes: "But I still see a lot of applications, developed by shops I know as well as vendors, that don’t make use of a Schema. Everything is piled under dbo.... But if you’ll use them properly you can…

Read more about Why Use Schemas? 100 comments — Join the discussion