Create a database table using PowerDesigner

Source: Internet
Author: User
Tags powerdesigner

(1) New concept model

(2) Create new table, add Table Properties

Fill in the property name and type, and the primary key is to tick the p,m,d.

(3)

How to have the same field name in each table, you need to set the Tool->model Options, remove the check box in the red area.

(4) After filling out, press ctrl+g shortcut key to generate a physical model, if the error, you need to modify the Tools->check model, according to the wrong prompt to the corresponding check box to remove the tick.

(5) After generating the physical model, set the primary foreign key relationship between the tables

Point to Main table from child table, double click contact line, name contact

Select joins to set the associated field of the master table

(6) After the setting is complete, press ctrl+g shortcut key to save the SQL statement.

Create a database table using PowerDesigner

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.