Table of contents

  1. Front Matter
    Pages i-xxi
  2. Stefan Ardeleanu
    Pages 1-16
  3. Stefan Ardeleanu
    Pages 17-30
  4. Stefan Ardeleanu
    Pages 31-41
  5. Stefan Ardeleanu
    Pages 43-52
  6. Stefan Ardeleanu
    Pages 53-79
  7. Stefan Ardeleanu
    Pages 81-102
  8. Stefan Ardeleanu
    Pages 103-126
  9. Stefan Ardeleanu
    Pages 127-136
  10. Stefan Ardeleanu
    Pages 137-145
  11. Back Matter
    Pages 147-149

About this book


Learn the best way of writing code to run inside a relational database. This book shows how a holistic and set-oriented approach to database programming can far exceed the performance of the row-by-row model that is too often used by developers who haven’t been shown a better way. 

Two styles of programming are encountered in the database world. Classical programming as taught in many universities leads to an atomic, row-oriented, and procedural style inspired by the structured models of programming. In short, many application developers write in the relational database exactly like in the user interface. The other style of programming is holistic, data set oriented, and coded mainly in SQL. This is the style of the database developer.

The set based and holistic style of development is not promoted enough in universities, and many application developers are not fully aware of it. There are many performance issues all over the world in relational databases due to the use of the atomic and inappropriate style of programming. This book compares the two styles, and promotes the holistic style of development as the most suitable one. Examples are given to demonstrate the superiority of a set-based and holistic approach.
  • Compares the two styles of development
  • Shows the performance advantages of set-based development
  • Solves example problems using both approaches


Set-oriented Atomic Performance SQL Oracle OLTP Data set Embedded SQL Dynamic SQL

Authors and affiliations

  • Stefan Ardeleanu
    • 1
  1. 1.BucharestRomania

Bibliographic information