Right-click the selected entity on the Workspace to see the following options:
Toad Data Modeler allows you to design Entity Relationship Diagrams of specific database platforms, convert physical model from one database platform to another, create an ER Diagram directly from your database (Reverse Engineering feature), update physical models, generate DDL/SQL scripts and Change Scripts, create Dictionary Types, Views, Triggers, Functions, generate detailed documentation to your model (in HTML, RTF, PDF, XSLT formats) and much more.
This chapter describes features and functions related to Physical Data Modeling. Look around each section to get the information you need.
|
Note: See the sample physical model Videorental (Oracle 10g db) that is included in the installation package of Toad Data Modeler. Default location is: C:\Program Files (x86)\Quest Software\Toad Data Modeler6.4\Samples. |
You can create attributes in:
To create an attribute on the Workspace
Right-click an entity on the Workspace and select Add | Attribute. The Attribute Properties dialog opens.
![]()
Note: Select the Primary Key (Unique) checkbox to set the attribute as PK or unique attribute.
To create an attribute in the Entity Properties form
Entity Properties attribute columns
Column/Option Description Key
Graphical representation of keys of a particular attribute
Caption
Logical attribute name
Name Physical attribute name
Data Type
Data Type of an attribute
![]()
TIP: You can set a default data type for newly created attributes. See Settings Menu | Options | Physical Model | *database platform and version* | Default Data Type combo-box. (The selected data type will be also applied to Dictionary Types and Domains.)
p1
Parameter 1. Only some of the available data types have this parameter. Defines properties of the selected data type, e.g. length in case of the Char data type.
p2
Parameter 2. Only some of the available data types have two parameters. E.g. the Decimal data type has two parameters, which define precision and scale.
Not Null
When checked, the attribute cannot be empty.
Comments
Comments or descriptions related to the attribute
Status
Shows status of attributes in grid. Status of Items in Grids
Buttons:
- opens the Application Variables form
Smaller Add button- adds new attributes quickly, just enter attribute name and then click Add.
Bigger Add button - adds an attribute
Edit - opens Attribute Properties of the selected entity
Delete - deletes the selected attribute
- moves the selected attribute up or down in the list
To create another attribute in the Attribute Properties form
Click OK+Add.
To create an attribute in Model Explorer
Unfold the Entities folder | Unfold the specific entity folder | Right-click the Attributes folder | Add Attribute.
or
Example: The Attribute Properties dialog (Oracle 10g db):
Tab/Option | Description | ||
---|---|---|---|
Object Navigator Dropdown Menu |
Object Navigator Dropdown Menu can be expanded or collapsed by clicking the right black arrow in top right corner. All attributes in your entity are listed here. This allows you to edit them quickly and comfortably from one place. Tip: After you finish editing an entity, click Apply to confirm changes and select another entity from the Object Navigator box. | ||
General Tab |
General properties of attribute | ||
Caption |
Logical column name | ||
Name |
Physical attribute name See About Naming Conventions for more information. | ||
Primary Key | Select this checkbox to set the attribute to be a part of primary key. | ||
Not Null |
Select this checkbox to set the attribute Not Null. See NotNull Property for PK and AK Attributes for more information. | ||
Unique |
Select this checkbox to set the attribute as unique. See Unique Attributes for more information. | ||
Data Type |
Data Type selection box
| ||
Domains |
Domains selection box
| ||
Default |
Default value definition | ||
Default Rule |
Default rule selection | ||
| |||
Check Constraints Tab |
On this tab, you can add, edit and delete check constraints. | ||
Foreign Keys Tab |
Details of a foreign key attribute are listed here. | ||
Entity |
Name of parent entity | ||
Relationship |
Name of relationship connecting the parent entity and child entity | ||
Attribute |
Name of attribute | ||
Permissions Tab |
On this tab, you can assign a User or User Group permissions for the selected attribute. | ||
Notes Tab |
A tab for notes on the attribute. The text will display in a pop-up box when you point your mouse cursor at the attribute name in ER diagram (the Attributes item has to be selected in Display Level). | ||
Not Null Constraint Tab |
Options related to Not Null Constraint definition. | ||
|
Click this button to open the parent form (Entity Properties form).
|
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy