24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

USING <strong>ER</strong>/STUDIO > CREATING AND WORKING WITH DATA MODELS<br />

• Generating a Physical Data Model<br />

• Using the Compare and Merge Utility<br />

Creating a New, Blank Data Model<br />

1 Click File > New.<br />

2 Select Draw a new data model, and then click OK.<br />

3 Click File > Save, navigate to the appropriate directory, enter a file name, and then click Save.<br />

Reverse Engineering an Existing Database<br />

Use the reverse engineering function to create a logical and physical model by extracting information from an existing<br />

data source. You can specify a data source to reverse engineer using an ODBC or native connection. Using the<br />

Reverse Engineer Wizard and the native connection, you can specify exactly what you want to reverse engineer,<br />

selecting from a particular database objects such as: tables, views, indexes, defaults, rules, user datatypes, owners,<br />

objects, views, and dependencies. Using the Reverse Engineer Wizard and an ODBC connection allows you to<br />

reverse engineer only tables and views. The information extracted for tables includes constraints, primary keys,<br />

foreign keys, and comments. Using the Quick Launch feature, you can save a set of reverse-engineering options to a<br />

file and retrieve them the next time you need to perform a similar reverse-engineering operation.<br />

1 Click File > New.<br />

2 Select Reverse-engineer an existing database, and then click Login.<br />

3 Enter your database connection and login information.<br />

4 The Reverse Engineer Wizard displays.<br />

Page 1<br />

Here you can select specific objects and information to include in the reverse engineered model. The Reverse<br />

Engineer Wizard will walk you through the rest of the process.<br />

The following describe fields and options in the wizard that require additional explanation.<br />

• Connection Type:<br />

• ODBC: Using an ODBC connection, you can only reverse engineer tables and views. To add a new ODBC<br />

Data Source or edit an existing one, click Setup to open the ODBC Data Source Administrator dialog. For<br />

more information, see Configuring ODBC Data Source and Target Connections.<br />

• Native/Direct: Using a native or direct connection, you can reverse engineer all supported objects for the<br />

selected platform. For more information, see Using Native or Direct Database Connections.<br />

• Database Type: Using a native connection, <strong>ER</strong>/<strong>Studio</strong> can reverse engineer the following databases:<br />

• IBM DB2 for OS/390<br />

• IBM DB2 for LUW<br />

• MS SQL Server<br />

• Oracle<br />

• Sybase ASE<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!