Manipulations with database tables

The following functions implement the most typical operations with tables. Note that the table records are always treated as trace header entries. Thus the header data structures, and the styles of data storage and retrieval are essentially the same as for trace headers.