Generate a DDL file

Applies to User Roles:

System Administrator

Database administrators often rely on conceptual and physical data models to understand the relationships among tables, records, and data, and to produce reports. If you have administrative rights, you can customize the files and links used to create the component Database Definition Language (DDL) statements.

To generate DDL statements in a file using the Entity Relationship Diagram (ERD) Creation utility:

  1. Click Tailoring > Tailoring Tools > ERD Create Records.
  2. Determine the correct export mode for the DDL statements.
    • Full mode: Creates one foreign key definition for each unique field or file relationship. You can have multiple links between two files.
    • Simple mode: Creates one foreign key definition for each file-to-file relationship within each relationship type.
  3. From the ERD Creator Definition form, click the More Actions menu.
  4. Select one of the following:
    • Create/Export DDL > Full.
    • Create/Export DDL > Simple.

The output of the ERD Create utility automatically resides at the root level of the Service Manager client installation folder. The file name is the DDL file name with a .sql file extension.

Example: ..\Program Files\HP\ Service Manager x.xx\ Service Manager Client\ddl_name.sql.