User Groups
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)
User Groups
Toad Data Modeler allows you to define Users and assign them to User Groups. You can then assign User and User Groups permissions to objects.
To add a user group
Click on the Users Toolbar and click Add in the displayed dialog.
or
In Model Explorer | Right-click the User Groups folder | Add User Group.
To edit a user group
Go to Model Menu | Model Items | User Groups | double-click the selected user group or click Edit.
or
In Model Explorer | User Groups folder | double-click the selected user group or right-click | Edit.
Object Navigator Box |
All user groups 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 group name |
Name |
Physical user group name |
Membership Tab |
Description |
Available |
Available user groups |
Selected |
Selected user groups |
Members Tab |
Description |
User Groups section |
You can create another group in already existing group. (This is possible for some databases.)
From the list of existing groups, select a group and click the Add arrow button. |
Users section |
Here, you can assign users to a group.
Note: You can assign users to a user group also in the Users dialog. |
To Do Tab |
On this tab, you can write some tasks on the selected user group.
Note: To see all To Do tasks, select Model | To Do. |
|
Note:
- To copy user groups, use CTRL + Drag&Drop techniques.
- To move user groups, use Drag&Drop techniques.
You can copy and move your user groups within a model and between models of the same and different databases:
- In User Groups dialog (Model Menu | Model Items | User Groups)
- In Model Explorer | User Groups folder
- Between Model Explorer and User Groups dialog
- To delete user groups, go to:
- Model Menu | Model Items | User Groups | Select a user group and click Delete.
- Model Explorer | User Groups folder | Right-click and select Delete Item.
|
Basic Database Design
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)
Select Target Database
The first step to create a model in Toad Data Modeler is to choose your target database.
Scenario
Creating new Oracle 10g physical model named Videorental.
- Click on Main Toolbar (or press CTRL+N).
- Click the Physical Data Model tab and select the target database - Oracle 10g.
- Write Videorental into the Model Name textbox.
- Confirm by clicking OK.
Result:
- The model will be shown in Application View.
- The All Items workspace displays automatically.
- The status bar in of Application Window displays the database name. (DB: Oracle 10g in our case.)
- Most of the menus and toolbars become activated.
|
|
Note:
Database Name - The target database for which the model is created (e.g. Oracle 10g). The database name can be found at the bottom of the Application Window or in displayed pop-up hint when you hover your mouse cursor on the model name in the Application View.
Model Name - A model can be saved to more files. In Toad Data Modeler, Model Name should be understood as a title of a document that can be saved to several files of a different name.
File Name - A name of the file where the model is saved. File Name is defined after you select Save Model or Save Model as.
Rename |