scarydba.com
CASE Statement in GROUP BY - Grant Fritchey
Set based operations means you should put everything into a single statement, right? Well, not really. People seem to think that having two queries is really bad, so when faced with logical gaps, they just cram them into the query they have. This is partly because SQL Server and T-SQL supports letting you do this, […]
Grant Fritchey