Download PER Model Oracle 10g database

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

SQL wikipedia , lookup

Data vault modeling wikipedia , lookup

PL/SQL wikipedia , lookup

Operational transformation wikipedia , lookup

Database model wikipedia , lookup

Relational model wikipedia , lookup

Transcript
PER Model (Oracle 10g database)
Set a default in the Attribute Properties dialog:
See the SQL code of the entity:
In the Attribute Properties dialog, click the small button on the right, next to the Default Rule
box. The Defaults dialog will open. (Also accessible via Model menu | Defaults.) Here, you can
define a new default rule. On tab SQL, just write an expression of the default (default values).
Select the default rule for the attribute.
See the SQL code now:
If you like to change the default rule Default1, you will simply change it via the Defaults dialog.
The change will automatically apply in all attributes with this default rule.
Note: In PER model, you can also define Check Constraint rules. See the Check Constraints tab
in the Attribute Properties dialog or Model menu | Check Constraint Rules.
LER Model
In LER model, you can define the default rules the same way as in PER model.
Concerning the Valid Values tab, it is available only for the following data types:
Bigint, Float, Integer, VarChar. (Character will be in the future.)
Anyway, In TDM3, valid values in LER model = check constraints in PER model (feel free to
check out the conversion).
If the Valid Values tab is not available (depends on the selected data type), you can use rules
(see the Rules tab).