core09.sdl

Schema for the core09Example_main.c example. Compile this schema using rdm-compile as follows:

rdm-compile --c-structs --lc-struct-members --catalog core09.sdl

and include the generated header file(s) as follows:

#include "core09_structs.h"
#include "core09_cat.h"

and compile the following generated source file(s):

core09_cat.c

Here follows the actual schema:

/*
* EXAMPLE - Database for Core09 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
);