IT lexicon › Database › Get Next

Get Next

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

A CODASYL operation that retrieves the next record of a given type from the current set occurrence.

GET NEXT was a fundamental instruction in CODASYL databases that navigated forward through a pointer chain within a set. Unlike SQL joins, which are declarative, CODASYL navigation was imperative: the programmer explicitly wrote instructions to fetch the next record, next owner, or next member. Together with operations like GET UNIQUE and GET OWNER, GET NEXT formed the core instruction set for querying a database. This style of sequential navigation was both a strength (efficient for well-defined paths) and a weakness (slow and error-prone for ad-hoc queries).

← Back to the lexicon