Abstract: An index of a relational database or an indexed sequential file is used in a method that does not depend on the implicit or explicit definition of ranges of a key formed as a binary number from concatenation of columns of a Table in the database. As long as not all relevant ranges of the key have been exhausted, the beginning of a next range is found and row identifiers are extracted from entries of the index, where the key belongs to that next range, until that next range is exhausted.