10.07.2015 Views

Using Data Modeler

Using Data Modeler

Using Data Modeler

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ecreating the ssn column settings repeatedly, you can create a domain that containsthe social security number settings and assign that domain as the data type for thecolumn. Refer to Figure 14 on page 31.Creating a domain is optional and is dependent upon the domain support for yourDBMS. When you create a domain, you must first create a domain package as acontainer for your domain. You can assign your domain package to a specific DBMS.Then you can create your domain and assign your domain to the domain package.Assigning your domain to a domain package means your domain will only supportthe data types supported by the domain package’s DBMS. You can also tag yourdomain as server-generated for forward engineering purposes.Figure 14A DomainCreate TablesA table identifies an entity. Each table can contain columns, constraints, triggers, andindexes. Tables are joined together through relationships. A table can belong to onlyone schema, however a schema may contain zero or more tables. You can also indicatethe tablespace name for your table.Whenyoucreateatable,yourtablenamemustbeuniquewithintheschematowhichit belongs, and must meet your specified DBMS’s naming requirements. It isrecommended you use a prefix to distinguish the tables in your data model from theclasses in your object model.Building a New <strong>Data</strong> Model 31

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

Saved successfully!

Ooh no, something went wrong!