Generating DDL statements for schemas

When you want to know the Structured Query Language (SQL) statements to create a table from non-JDBC schemas that you created in HCL® OneTest Data, you can generate the Data Definition Language (DDL) statements for those selected schemas.

Before you begin

You must have completed the following tasks:
  • Logged into HCL OneTest Server.
  • Created a project.
  • Created schemas in HCL® OneTest Data. See Schema fabrication.

About this task

You can generate the SQL file with DDL statements to non-JDBC schemas only. You can also generate the DDL statements for multiple schemas simultaneously. To generate the DDL statements for any schema, you must create a schema in HCL® OneTest Data, define the properties of the schema, and then import all the non-JDBC schemas for which you want to generate the DDL statements on the Schema Canvas page. After you import the schemas into the Schema Canvas page, you must select the schemas, and then generate the DDL statements.

You can find the generated SQL file with DDL statements for the selected schemas on the Jobs page.

Notes:
  • You cannot generate the DDL statements for schemas with nested groups.
  • The DDL statements for all the selected schemas that are available on the Schema Canvas page are generated in a single SQL file.

Procedure

  1. Create schemas.
  2. Define properties of schemas.
  3. Import non-JDBC-supported schemas.
  4. Select schemas.
  5. Generate DDL statements.

Results

You have generated the DDL statements for the selected non-JDBC schemas.

What to do next

You can download the generated DDL statements for each schema from the Jobs page. See Status of generated test data.