You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:

TagDescription
<tables-definition>

Root element of a DDML document. Its children are the main database entities:

<table-definition>, <ddl-definition>, and <view-definition>. The <tables-definition> tag includes the product attribute, which indicates the product of this specific DDML definition.

<table-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.

<ddl-definition>Includes ddl-level attributes.
<view-definition>Includes view-level attributes.

<tables-definition> tag

Root element of the DDML document.

AttributeDefinition
product

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:

  • C1 For customer-defined 1
  • C2 For customer-defined 2
  • C3 For customer-defined 3
IDERA |  Products | Purchase | Support |  Community |  Resources |  About Us  | Legal
  • No labels