http://www.sqlservercentral.com/blogs/discussionofsqlserver/2011/09/07/presenting-banish-rbar_2100_-at-richmond-sql-ug/

Printed 2014/09/17 01:48AM

Presenting Banish RBAR! at Richmond SQL UG

By Wayne Sheffield, 2011/09/07

On Thursday, Sept 8, 2011 at 6:30pm EST, I’ll be presenting Banish RBAR! to the Richmond SQL Server User Group. The last time I presented here was the week of PASS Summit, so I’m hoping for a greater turnout.

The abstract for this presentation is:

SQL Server is primarily designed for set-based operations, so code that performs Row-By-Agonizing-Row (RBAR) operations is going against the design, rather than working with it. Come to this code filled session, where we will examine several recent additions to SQL Server, and learn how the vast majority of RBAR code can be replaced with efficient, set-based code. Learn how the APPLY operator works; iterate through incoming data just once with the MERGE statement; “slice and dice” your data with the Windowing (ranking) functions; re-write your multi-statement table-valued functions to inline functions to help the optimizer and speed up your queries; learn how to create a grouped delimited list – without loops!


Copyright © 2002-2014 Simple Talk Publishing. All Rights Reserved. Privacy Policy. Terms of Use. Report Abuse.