Main Content

Banish RBAR! (Richmond SQL Server User Group)

A talk by Wayne Sheffield

About the Talk

September 8, 2011 2:00 PM

Richmond, VA

Richmond, VA

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!

Ratings and Recommendations

Avg. Rating

Average based
on 1 rating

comments powered by Disqus