Boost Your T-SQL with the APPLY Operator

Davide Mauri

Microsoft Virtual Accademy ha pubblicato un bel webcast fatto da Itzik Ben-Gan dedicato all’uso dell’operatore APPLY, estremamente potente e tipicamente poco utilizzato. Di seguito il link:

Boost Your T-SQL with the APPLY Operator

Need creative solutions to T-SQL issues? Get them from Itzik Ben-Gan, one of the world’s foremost authorities, along with Microsoft Program Manager Umachandar Jayachandran. These experts demonstrate the APPLY operator, a T-SQL feature that can be used to solve a wide variety of problems. What’s especially interesting about APPLY is how it can be used in conjunction with many T-SQL features. To demonstrate this aspect of APPLY, the session tracks the operator through time, discussing features that were initially introduced in different versions of SQL Server (7.0, like TOP, through 2012, like OFFSET-FETCH), some of which are widely used today. For each feature, the session describes its shortcomings and then shows how to use APPLY to overcome it and to improve the feature.

Hekaton - Indici e MVCC

Davide Mauri

Disponibile il secondo video della serie introduttiva dedicata a SQL Server 2014. Questa volta si parla di indici specifici (Range ed Hash) a supporto di Hekaton e del nuovo modello di gestione della concorrenza MVCC: Multiversion Concurrency Control

https://vimeo.com/85591054

Le slide sono disponibile sia su SlideShare

http://www.slideshare.net/FrancescoMilano/ugiss-sql-server-2014-pills-multiversion-concurrency-control

che su SkyDrive:

SQL Server 2014 - Delayed Durability

Davide Mauri

Disponibile un nuovo video della serie introduttiva dedicata SQL Server 2014. Questa volta si parla di “Delayed Durability” una vera e propria killer feature che però, fino ad ora, è rimasta nell’ombra di Hekaton e quindi ha trovato poco spazio sui media e social network. E’ ora di cambiare la cosa, perchè questa feature può avere un impatto estremo nell’utilizzo di SQL Server.

SQL Server 2012 Reporting Services Blueprints

Sergio Govoni

Recentemente ho avuto l’occasione di leggere il libro SQL Server 2012 Reporting Services Blueprints scritto da Marlon Ribunal e Mickey Stuewe e pubblicato da Packt Publishing.

Prima di tutto, devo ammettere che Reporting Services non è mai stato tra i miei cavalli di battaglia, chi mi conosce sa che sono più ferrato sul linguaggio T-SQL, sullo sviluppo Database, sull’Analisi delle Performance e così via. Quando ho saputo dell’opportunità di leggere questo libro, ho pensato fosse una buona occasione per migliorare le mie competenze sullo sviluppo di report con SQL Server Reporting Services, avevo però bisogno di un libro pratico che andasse subito al sodo.

Building Your T-SQL Tool Kit: Window Function Fundamentals

Sergio Govoni

Sul canale SQLPASS TV è stata pubblicata la sessione Building Your T-SQL Tool Kit: Window Function Fundamentals tenuta da Christina E. Leo (@christinaleo) durante lo scorso PASS Summit 2013.

Abstract

Have you pulled a script to identify duplicates from a blog post but couldn’t quite get it to work because you weren’t sure what that ROW_NUMBER() function was doing? Maybe you heard talk about creating running totals without using subqueries, but you got frustrated when the groups weren’t totaling correctly. Or maybe, you’ve never even heard of window functions. All are good reasons to attend this all-demo session, which demystifies this versatile T-SQL tool. First, we’ll break apart the OVER clause, the key to understanding how window functions work. Then we’ll expand on each group of functions that can use the OVER clause: ranking, aggregate, and analytic functions. Finally, we’ll look at real scenarios where this tool works and talk about performance considerations. When you leave, you’ll have the fundamentals you need to fully develop your mastery of window functions.

SQL Server & BI Conference 2014

Davide Mauri

E’ possibile registrarsi e consultare l’agenda dell’ormai imperdibile conferenza su SQL Server, la SQL Server & Business Intelligence Conference che vedrà anche nel 2014 le luci del palco.

Scoprirai sia il nuovo motore OLTP Hekaton che consente di migliorare le prestazioni e la scalabilità delle tue applicazioni sfruttando le tabelle in memoria senza rinunciare alle caratteristiche di affidabilità di SQL Server, sia i miglioramenti per le applicazioni analitiche e i columnstore index, ora utilizzabili anche per gli indici clustered delle tabelle, diventando la soluzione ottimale per i data warehouse.