PowerDesigner Generating SQL scripts

Source: Internet
Author: User
Tags powerdesigner

1. Open Powerdesigner->new Project;

2. Fill in the project name, select the file's storage path;

3. Create a new model;

4. Select the conceptual model and fill in the model name;

5. Select entity to create a solid model;

6. Click on the model diagram, fill in the table structure information;

The data format description of the time type;

For cases where the same field appears during creation:

Before the change:

After the change:

7. After the table structure is created, make the association between the tables, click Relationship to associate the table directly with the table;

Select the relationship between tables and tables;

8. Generate a physical model diagram;

Select database type

The software will automatically generate foreign keys, intermediate tables, etc.;

9. Click on the generated physical model and select Generate database in database to generate SQL script;

For the method of the field quotation marks in the SQL file:

Click on the physical model and select Database->edit current DBMS;

Change the yes to No to regenerate the SQL file;

10. Import the generated SQL script into the corresponding database management software and run it.

PowerDesigner Generating SQL scripts

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.