Hidden RBAR: Triangular Joins | Database Journal

Hidden RBAR: Triangular Joins

Jan 17, 2009
1 minute read

[From SQL Server Central]

If you’ve been around the forums on SQLServerCentral.com, you’ve probably seen me use the term “RBAR”. “RBAR” is pronounced “ree-bar” and is a “Modernism” for “Row-By-Agonizing-Row”. I use the term “RBAR” for anything that isn’t set based. Some others have picked up on it because it’s easy to remember as a form of “Death By SQL”.

Many folks think that “set-based” programming means one of two things…

  1. It’s all done in a single query or…
  2. It simply doesn’t have a Cursor or a While Loop

Both of those are very bad misconceptions as to what set based programming is.

The article continues at

http://www.sqlservercentral.com/articles/T-SQL/61539/

Database Journal Logo

DatabaseJournal.com publishes relevant, up-to-date and pragmatic articles on the use of database hardware and management tools and serves as a forum for professional knowledge about proprietary, open source and cloud-based databases--foundational technology for all IT systems. We publish insightful articles about new products, best practices and trends; readers help each other out on various database questions and problems. Database management systems (DBMS) and database security processes are also key areas of focus at DatabaseJournal.com.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.