IT lexicon › Database › Set-oriented access

Set-oriented access

Database På svenska → Updated: 2026-11-11

Method of accessing database data by declaring what you want, not how to retrieve it record by record.

SQL introduced set-oriented access: instead of iterating through records with a cursor, you could write a SELECT statement that described the data you needed. The database's query optimizer analyzed the query and chose the best execution plan without requiring you to understand implementation details.

This represented a paradigm shift from navigational systems. It enabled higher abstraction, simpler code, and often better performance by allowing the database to apply global optimization techniques across the entire query instead of being constrained by the program's navigation sequence.

← Back to the lexicon