rdm-compile --c-structs --lc-struct-members --catalog core12.sdl
and include the generated header file(s) as follows:
#include "core12_structs.h" #include "core12_cat.h"
and compile the following generated source file(s):
Here follows the actual schema:
* EXAMPLE - Database for Core12 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