Since one of the earlier projects was not output as a e-r graph when the database was designed, I used PD to reverse engineer the original database when I upgraded the project two times, that is, all the tables of the database are built into the E-R graph structure according to the data source, I use PD 15, the Reverse engineering command is " "Reverse Engineer" in the File menu-the reverse engine. Other versions of PD should be in the "Database" menu. The detailed steps are as follows:
1. Start PD and create a new physical Diagram
2. Menu: Database->congfigure Connections popup congfigure Data Connections dialog box
Click the Add Data Source button to pop up the Create New DataSource dialog box:
We select "System Data Source" and the next step:
Data source driver We select SQL Server and proceed to the next step:
Click "Done" to pop up the new data source created to SQL Server, where we enter a name, description, and server name or IP:
Next: Verify login by selecting SQL Server Authentication with user input login ID and password, and entering the login ID and password
Next: Change the default database for the one you want to reverse work on
Next: Complete
Finally, we will appear in the Congfigure Data Connections dialog box that we have just created.
**********************************************************************************
2, Menu: File->reverse Engineer->database out new physical Data Model dialog box
Click the "OK" button to eject the database Reverse Engineering Options dialog box:
Here we select the using a data source, click the DataSource button to eject the connection to a Data Source dialog box, select our previously established datasource in the dropdown box, and enter the user ID and password
Click Connection to connect to the database and get all the database objects, where we select all the table.
Finally click OK, you are done!! , the following sections are:
Using PowerDesigner to build e-r diagram of existing database reverse engineering