Application of PowerDesigner (2): Application of powerdesigner
In the previous article, we have introduced how to generate PDM from CDM and PDM, and how to export the generated PDM to the database. First, let's take a look at the following:
This is a PDM diagram generated by CDM. On this basis, you can export its SQL script as follows:
1. Find the Database menu in the menu bar, find Generate Database, and click to enter:
2. You can switch to the Options tab to set some Options for script. You can see the generated Script View under the switch to the Preview tab, as shown below:
3. On the Selection tab above, you can select the table that generates the script. After setting all the options, click OK below. In this way, we can generate the script to import the database.
4. There is also a very convenient function, you can change the database at any time. For example, currently, PDM is based on SQL, but you don't need to re-build the object, you just need to convert it to easily solve it, as shown below: