Erwin pre-script and post-script trigger

Source: Internet
Author: User

In Erwin, pre-script and post-script can be customized. When will these custom scripts be triggered?

In addition to ensuring that the pre-and post-script option is selected in the right-click table option, the table-level script is triggered only when you create or discard a table, if only a field of the table is modified, the script will not be triggered.

-A small obstacle to self-generated DDL modification encountered during Data Model Modification

Two other points are found:

1. You can only use preview when using DDL scripts. If generate is used, DDL execution is directly completed in the database. do not generate a DDL statement during model modification.

2. after the model is modified, if you save it, you cannot generate the alter script DDL script. To obtain the DDL script, you must click "preview" to obtain the DDL script before saving it. In case of saving, you can only use the Compare menu to compare it with the original model, find out the difference, copy the left and right, and then click alter script to obtain the script.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.