- Database Schema Definition
The DDL (Database Definition Language) specification for the database used in this example is located in the file core08_db.sdl
.
/*
* EXAMPLE - Database for Core08 example
*
* This is the DDL (Database Definition Language) for a sample database
* that could store sales information. There is only one record type defined
* called OFFICE, it has a single indexed field called NAME.
*/
create table office (
name char(32) not null key
);
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 core08_db.sdl