core13.sdl

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

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

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

#include "core13_structs.h"
#include "core13_cat.h"

and compile the following generated source file(s):

core13_cat.c

Here follows the actual schema:

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