next up previous
Next: Byte string representation Up: File Organization Previous: Fixed-Length Records

Variable-Length Records

  1. Variable-length records arise in a database in several ways:
  2. We'll look at several techniques, using one example with a variable-length record:

     aaaaaaaaaaaa¯type account-list = record
    

    bname : char(22);

    account-info : array tex2html_wrap_inline612 of

    record;

    account#: char(10);

    balance: real;

    end

    end

    Account-information is an array with an arbitrary number of elements.





Osmar Zaiane
Tue Jul 7 16:00:21 PDT 1998