Loading a database
In order to populate a database, go through the following
steps:
Create a schema file which contains MQL statements which
create all the enumerations and object types and features
necessary. Use the CREATE ENUMERATION and CREATE OBJECT TYPE
statements for this. See the MQL User's Guide for how to use
these statements. The schema file should contain a CREATE
DATABASE statement and a USE DATABASE statement at the top of
the file.
Run this schema file through the mql(1) program.
Populate the database. This can be done in two ways:
Write and run a program which takes any existing data and
uses the MQL query language to create new objects. In
particular, use the CREATE OBJECT FROM MONADS statement, or
the CREATE OBJECTS WITH OBJECT TYPE statement.
Create the database on-the-fly using some analysis program
you have created.
|