Petelai project experience collection (4) ___ reverse engineering of SQL SERVER, import the database to PowerDesigner, petelai

Source: Internet
Author: User
Tags odbc connection import database powerdesigner

Petelai project experience collection (4) ___ reverse engineering of SQL SERVER, import the database to PowerDesigner, petelai

PD is a good database design tool. In the project of petelai, at first, the partner designed 10 tables with PD. We directly used forward engineering during project development, directly import the database designed by PD into SQLServer to create the database and table structure. With the development of the project, we have changed the table structure and number of tables. To ensure the consistency between the database and the PD graph, here we use reverse engineering to import databases to PD, Oracle, SQL Server, and other databases. We can use reverse engineering to import databases to PD. For SqlServer reverse engineering, you must first establish a database connection before performing reverse engineering operations. The following describes how to import a database to PowerDesigner15 by reverse engineering of SQL SERVER2008R2:

 

1. Create a PDM File

Open PD, File → New Model → Model types → PhySical Data Model → PhySical digoal.

2. establish a connection between the PD and the database

2.1 Open the "DataBase" menu and select "Configure Connections ..."

2.2 The "Configure Data Connections" window is displayed.

2.3 select a System Data Source

2.4 select the database you need

 

2.5 set the database address and sa account

2.6 Click Finish to test the connection.

So far, the ODBC connection with database SQL SERVER 2008 R2 has been established.

 

 

Iii. Reverse Engineering import database to PD

3.1 after establishing a Database connection, select File> Reverser Engineer> Database

 

3.2 click OK.

3.3 click Connect and select the tables and views to be imported, table objects, and general stored procedures.

 

So far, the reverse engineering of SQL Server is over. The following shows a partial PD diagram generated by the reverse engineering:


How to export the SQL Server database in powerdesigner15

What do you mean by export? Invert or generate?

Reverse: File-> Reverse-> Database
(Pdm) generation: Database-> Generate Database

Powerdesigner reverse engineering updates existing PDM from the SQL SERVER database

Gallep PDM is a system solution designed to manage enterprises' production resources and manufacturing process data. This solution can effectively organize process cards, part blueprints, 3D digital models, tool lists, quality documents, numerical control programs, and other production work documents. It is a powerful tool to achieve paperless management of the enterprise workshop.

1. Comprehensive production document viewing
Add and view all types of local and network files as attachments, and integrate various production information to help on-site production.

2. Flexible custom data document Organization Structure
Custom management of the production document structure is performed based on different production and processing task types to facilitate on-site personnel to check the production guidance information.

3. efficiently guide production Preparation
Integrate on-site production preparation elements and create a document library for the corresponding parts, integrate and manage necessary production information such as equipment, blanks, knives, feed points, route paths, process parameters, and NC programs required for production, and provide guidance on-site production preparation.

4. fast and flexible push of production guidance documents
On-site personnel can scan the production task bar code to trigger the system to automatically locate and find the corresponding production guidance documents and quickly push them to the on-site terminal of the station to guide on-site production.

5. Complete Document library management process and document version management
It has a complete document library management process wizard and automatic version management function, which can be used to issue, recall, edit, re-issue, inspect, and check production data documents. Ensure the accuracy and uniqueness of documents and improve the production quality.

6. Open APIs (application interfaces) and databases
Open APIs can be integrated with other enterprise information systems. APIs has over 300 methods and a full set of help documents. Data sharing with third-party application systems is achieved through programming languages compatible with various operating systems. This laid the foundation for building an enterprise production information management system and sustainable development.

Hope to adopt it!
 

Related Article

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.