Table of Contents

Search

  1. Preface
  2. Informatica Developer
  3. The Model Repository
  4. Searches in Informatica Developer
  5. Connections
  6. Physical Data Objects
  7. Flat File Data Objects
  8. Logical View of Data
  9. Viewing Data
  10. Application Deployment
  11. Application Patch Deployment
  12. Application Patch Deployment Example
  13. Continuous Integration and Continuous Delivery (CI/CD)
  14. Object Import and Export
  15. Appendix A: Data Type Reference
  16. Appendix B: Keyboard Shortcuts
  17. Appendix C: Connection Properties

Developer Tool Guide

Developer Tool Guide

Generating and Executing DDL at Design-Time

Generating and Executing DDL at Design-Time

Before you generate and run the DDL script, ensure that the user has the appropriate read and write permissions to access the target database.
  1. In the
    Object Explorer
    view of the Developer tool, select the relational data object for which you want to create a table in the target database. If you want to create multiple tables, hold down the
    Shift
    and
    Ctrl
    keys to select multiple data objects.
  2. Right-click a selected data object and select
    Generate and Execute DDL
    .
    The Generate and Execute DDL dialog box appears.
    The image shows the Generate and Execute DDL dialog box.
  3. In the Object Selection area, select the
    Target Database Type
    for which you want to generate DDL.
  4. In the DDL Generation area, you can select the following options:
    • Drop Table
      . Drop a table in the database before you create it. Select this option to replace a table.
    • Create Table
      . Creates a table on the target database.
    • Primary Key
      . Creates primary keys based on the selected data objects.
    • Foreign Key
      . Creates foreign keys based on the selected data objects.
    • Copy to Clipboard
      . Copies the DDL script to the clipboard.
    • Save As
      . Saves the DDL script to a file.
  5. In the DDL Generation area, click
    Generate DDL
    .
    The DDL generated for the selected data objects appears in the DDL Generation area.
    If you edit the DDL script generated in the DDL Generation area, you might encounter errors when you run the DDL script.
  6. In the DDL Execution area, click
    Browse
    and choose a target database connection.
    The
    Choose Connection
    dialog box lists the target database connections based on the target database type that you choose in the Object Selection area. For example, if you choose Oracle as the target database type, the Developer tool displays Oracle connections.
  7. Click
    Execute DDL
    .
  8. Click
    Close
    .

0 COMMENTS

We’d like to hear from you!