Synonyms
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 Modeler7.3\Samples. |
Benefits of Physical Data Model
- Detailed definition of database structure, including database specific items, for example:
- Stored procedures
- Functions
- Triggers
- Views
- Materialized views
- Sequences (auto increments) etc.
- Possibility to synchronize local model with existing database.
- Possibility to specify logical names for objects (captions for tables, attributes and other objects).
- Detailed database specific information can be exported to HTML/RTF/PDF or XML/XHTML/CSV reports.
- Automatic generation of SQL code for selected objects (SQL code generation is not available in Logical and Universal Model)
- Automatic migration of PK attributes to child entities (Attributes don't migrate to child entities in Logical Model)
Synonyms
To add a synonym
Select Model | Model Items |Synonyms and click Add in the Synonyms dialog.
To edit a synonym
Select Model | Model Items |Synonymsand double-click the selected synonym or click Edit.
|
Note: You can also edit/rename/delete synonyms in Model Explorer | Synonyms folder | Right-click the selected synonym. |
Users
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 Modeler7.3\Samples. |
Benefits of Physical Data Model
- Detailed definition of database structure, including database specific items, for example:
- Stored procedures
- Functions
- Triggers
- Views
- Materialized views
- Sequences (auto increments) etc.
- Possibility to synchronize local model with existing database.
- Possibility to specify logical names for objects (captions for tables, attributes and other objects).
- Detailed database specific information can be exported to HTML/RTF/PDF or XML/XHTML/CSV reports.
- Automatic generation of SQL code for selected objects (SQL code generation is not available in Logical and Universal Model)
- Automatic migration of PK attributes to child entities (Attributes don't migrate to child entities in Logical Model)
Users
Toad Data Modeler allows you to define Users and assign them to User Groups. Later you can assign the Users and User Groups permissions to particular objects.
To add a user
Click on the toolbar and click Add in the Users dialog.
or
In Model Explorer | Right-click the Users folder | Add User.
To edit a user
Select Model | Model Items |Users | double-click the selected user or click Edit.
or
In Model Explorer | Users folder | double-click the selected user or right-click | Edit.
Object Navigator Box |
All users of your model are listed here. The combo-box allows you to edit them, one by one from one place. Use Apply to confirm all the changes you make. |
General Tab |
Description |
Caption |
Logical user name |
Name |
Physical user name |
Password |
User's password |
Membership Tab |
On this tab, you can assign a User to User Group.
|
Note: One user can be assigned to more User Groups. |
Select a User Group and click appropriate button:
Adds selected item(s).
Puts back selected item(s).
Adds all items.
Puts back all items. |
To Do |
On this tab, you can write some tasks on particular user. |
To assign users to user groups
Example: All admins should be assigned to user group Administrators.
Method A - via the Users dialog
- In the Users dialog, select the SCOTT user and click Edit.
- In the User Properties dialog, click the Membership tab.
- Select the Administrators user group and click the Add arrow button to shift the selected group to the window Selected.
(The User Groups have already been defined in Model | Model Items |User Groups.)
|
TIP: If you confirm Apply, the User Properties dialog will remain opened, and you can comfortably assign other users to user groups. - Simply select another user from the object navigator box at the top. |
Method B - via the User Groups dialog
- Click on the toolbar.
- From the User Groups dialog, select Administrators user group and click Edit.
- In the User Group Properties dialog, click the Members tab.
- Select SCOTT and click the Add arrow button to shift the selected user to the window Selected.