Designing a database using the PowerDesigner tool

Source: Internet
Author: User
Tags import database powerdesigner

access to the company will use this UML Tools Oh.

1 Create Design ModelPhysical Data:

Note Select the type of database: then click OK

2New FormTable:

3To set a field:Check the primary key

tick p ( primary key), m means non-empty, set directly click OK

4To create a foreign key:manually modifying foreign keys

Click the Reference button to select from the table, point to the main table;

But there is a bug FK Span style= "font-family: the song Body;" > I want to be in dept_id Add a foreign key on the. To manually change each time, double-click the line with arrows:

5 Save model file PDM

 

The project manager said: "You from svn above checkout > PDM

You can then view it through the PD tool. The relationship between the table and the table, and so on.

6generate SQL file

7 SQL Import database, create data table complete

Designing a database using the PowerDesigner tool

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.