Products Support Documentation Download
Database Schema
Database Schema Definition

The DDL (Database Definition Language) specification for the database used in this example is located in the file core05_db.sdl.

/*
* EXAMPLE - Core05 C
*
* This is the DDL (Database Definition Language) for a database implementing
* two one-to-many relationship using reference model sets. The database will
* demonstrate the use of a b-tree index. There is one record defined and
* that record contains a single indexed character field. The index is not
* defined an unique therefore it will allow duplicate values.
*/
create table person (
last_four_ssn char(4) key not null
);

The schema was compiled using the RDM rdm-compile utility with the -s option to generate C-structures for interfacing with the database.

rdm-compile -s core05_db.sdl