occupation 
Logical Entity Name  occupation 
Default Table Name  occupation 
Physical Only  NO 
Do Not Generate  False 
Owner  dbo 
Definition 
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE dbo.occupation(
     occ_episodeid      int              IDENTITY(1,1),
     individid          nvarchar(11)     NULL,
     occupationid       smallint         NULL,
     occ_sobserveid     nvarchar(12)     NULL,
     occ_eobserveid     nvarchar(12)     NULL,
     CONSTRAINT PK__occupati__0E27FF6CE80BCF2C PRIMARY KEY CLUSTERED (occ_episodeid),
     CONSTRAINT FK_occupation_dic_occupation FOREIGN KEY (occupationid)
     REFERENCES dbo.dic_occupation(occupationid),
     CONSTRAINT FK_occupation_individual FOREIGN KEY (individid)
     REFERENCES dbo.individual(individid),
     CONSTRAINT FK_occupation_observation FOREIGN KEY (occ_sobserveid)
     REFERENCES dbo.observation(observeid),
     CONSTRAINT FK_occupation_observation1 FOREIGN KEY (occ_eobserveid)
     REFERENCES dbo.observation(observeid)
)

go
 
PostSQL   

occupation Columns 
ColumnName  Domain  Datatype  NULL  Definition 
occ_episodeid(PK)    int  NO 
 
individid(FK)    nvarchar(11)  YES 
 
occupationid(FK)    smallint  YES 
 
occ_sobserveid(FK)    nvarchar(12)  YES 
 
occ_eobserveid(FK)    nvarchar(12)  YES 
 

occupation Primary and Unique Keys 
Key Name  Key Type  Keys 
PK__occupati__0E27FF6CE80BCF2C  PrimaryKey  occ_episodeid 

occupation Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
dic_occupation  Non-Identifying  Zero or One to Zero or More  FK_occupation_dic_occupation      occupationid  NO  NO 
individual  Non-Identifying  Zero or One to Zero or More  FK_occupation_individual      individid  NO  NO 
observation  Non-Identifying  Zero or One to Zero or More  FK_occupation_observation      occ_sobserveid  NO  NO 
observation  Non-Identifying  Zero or One to Zero or More  FK_occupation_observation1      occ_eobserveid  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 

occupation Check Constraints 
Check Constraint Name  CheckConstraint 

occupation Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  PRIMARY 
Text Image File Group   

occupation Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows 

occupation Object Permissions 

User/Role Name  Grantee Type  Permission Type  Action Type  Is Action Extended  Is System 
occupation Security Types 
Name  Current Value 

occupation Bound Attachments 
Name  Current Value 

occupation Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
dbo.occupation 
NO       
Physical (Microsoft SQL Server)
dbo.occupation 
NO       

occupation Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Ocupation 
Physical (Microsoft SQL Server)  Main Model 

occupation Data Movement Rules 
Name  Type  Rule Text/Value