Page History
Table of Contents | ||||
---|---|---|---|---|
|
DDML, a language based on XML (Extensible Markup Language), allows you to logically define the entities you want to add to the Precise schema, such as tables, views, indexes, foreign keys, and all other required components. It covers the common entities available in most popular DBMSs.
After you have defined all database entities in DDML, you must run the DDML creation script to physically create the entities in the database.
General DDML document format
The general format of a DDML document looks as follows:
...
...
Children Display |
---|
...
<table-definition>
, <ddl-definition>
, and <view-definition>
. The <tables-definition>
tag includes the product attribute, which indicates the product of this specific DDML definition.
...
Includes the table-level attributes. Its children are the <column-definition>
, <index-definition>
, and <foreign-key-definition>
tags.
If a table is a statistics table, meaning means that the type attribute has the value STATISTICS, the <summary-hour>
, <summary-day>
, <summary-week>
, and <summary-month>
tags can be specified as children of the <table-definition>
tag.
...
<tables-definition> tag
Root element of the DDML document.
...
Required. Holds the product short name (product shortcut) consisting if two characters that define the product.
In this case, three custom-defined products are available:
...