ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation ER/Studio - Embarcadero Technologies Product Documentation

docs.embarcadero.com
from docs.embarcadero.com More from this publisher
24.12.2012 Views

USING ER/STUDIO > PRINTING THE DATA MODEL 3 Enter, or copy and paste the PreSQL and PostSQL on their respective tabs. 4 If you want the PreSQL and PostSQL scripts to be generated, select Generate. 5 Click OK. Creating SQL Procedures to Run Before and After Generating a Table You can create PreSQL and PostSQL that ER/Studio runs before generating a table in the physical model when you select the Database > Generate Database command and then click Finish in the wizard. The PreSQL and PostSQL you enter in the Table Editor can be included in the SQL generated before and after the CREATE TABLE statement that creates the table. 1 Double-click the table you want to associate the SQL procedure with. 2 In the Table Editor, click the PreSQL & PostSQL tab. 3 Enter or copy and paste the PreSQL and PostSQL onto their respective tabs. 4 If you want the PreSQL and PostSQL scripts to be generated, select Generate. 5 Click OK. Creating SQL Procedures to Run Before and After Generating a Physical Model View You can create PreSQL and PostSQL that ER/Studio runs before generating a view in the physical model when you select the Database > Generate Database command and then click Finish in the wizard. The PreSQL and PostSQL you enter in the View Editor can be included in the SQL generated before and after the CREATE VIEW statement that creates the view. 1 Double-click a view to which you want to associate an SQL procedure. 2 In the View Editor, click the PreSQL & PostSQL tab. 3 Enter, or copy and paste the PreSQL and PostSQL onto their respective tabs. 4 If you want the PreSQL and PostSQL scripts to be generated, select Generate. 5 Click OK. Printing the Data Model From ER/Studio, you can print your data models in monochrome or color to distribute to your reviewers. You can use the Print dialog box to set specific print parameters such as, printing specific sections of your diagram, diagram appearance, page range, zoom level, and border specifications. The Print dialog also has navigational tools that let you navigate your diagram to select the print area. You can save your print settings to reuse at a later time. TIP: Before printing your model, display the page boundaries in the Data Model Window so you can optimally place your objects for better viewing and printing. Click Tools > Options > Display > Page Boundaries. EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 274

USING ER/STUDIO > EXPORTING AN IMAGE OF THE DATA MODEL Print the data model 1 In the Data Model Explorer, select the physical or logical model, or the submodel that you want to print. 2 Click File > Print. 3 Choose the options desired in the Print dialog and then click OK. NOTE: To enable reviewers who do not have access to ER/Studio to view your models, in addition to printing the model you can also create an XML Schema, save the model and distribute it with ER/Studio Viewer, create RTF and HTML reports about the model, export the model to another format to be opened in a different application, or create an image of the model. For more information, see Generating RTF and HTML Model Reports, ER/Studio Viewer, Exporting the Data Model, and Exporting an Image of the Data Model. Exporting an Image of the Data Model From ER/Studio, you can create a screenshot image of your data models to distribute to your reviewers. 1 In the Data Model Explorer, select the physical or logical model, or the submodel that you want to capture as an image. 2 Click File > Export Image. 3 Choose your options in the Save As Image dialog and click OK. NOTE: When choosing the image characteristics, be aware that the lower the resolution, the smaller the file size will be. The higher the resolution, the bigger the file size will be. EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 275

USING <strong>ER</strong>/STUDIO > EXPORTING AN IMAGE OF THE DATA MODEL<br />

Print the data model<br />

1 In the Data Model Explorer, select the physical or logical model, or the submodel that you want to print.<br />

2 Click File > Print.<br />

3 Choose the options desired in the Print dialog and then click OK.<br />

NOTE: To enable reviewers who do not have access to <strong>ER</strong>/<strong>Studio</strong> to view your models, in addition to<br />

printing the model you can also create an XML Schema, save the model and distribute it with<br />

<strong>ER</strong>/<strong>Studio</strong> Viewer, create RTF and HTML reports about the model, export the model to another<br />

format to be opened in a different application, or create an image of the model. For more<br />

information, see Generating RTF and HTML Model Reports, <strong>ER</strong>/<strong>Studio</strong> Viewer, Exporting the<br />

Data Model, and Exporting an Image of the Data Model.<br />

Exporting an Image of the Data Model<br />

From <strong>ER</strong>/<strong>Studio</strong>, you can create a screenshot image of your data models to distribute to your reviewers.<br />

1 In the Data Model Explorer, select the physical or logical model, or the submodel that you want to capture as an<br />

image.<br />

2 Click File > Export Image.<br />

3 Choose your options in the Save As Image dialog and click OK.<br />

NOTE: When choosing the image characteristics, be aware that the lower the resolution, the smaller the file<br />

size will be. The higher the resolution, the bigger the file size will be.<br />

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

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

Saved successfully!

Ooh no, something went wrong!