| householdout |
| Logical Entity Name | householdout |
| Default Table Name | householdout |
| Physical Only | NO |
| Do Not Generate | False |
| Owner | dbo |
| Definition | |
| Note | |
| PreSQL | |
| DDL Code | CREATE TABLE dbo.householdout(      eventid             int                IDENTITY(1,1),      observeid           nvarchar(12)       NULL,      out_date            datetime           NULL,      out_type            int                NULL,      socialgpid          nvarchar(9)        NULL,      locationid          nvarchar(7)        NOT NULL,      des_locationid      nvarchar(7)        NULL,      des_clusterdes      nvarchar(50)       NULL,      des_communedes      nvarchar(50)       NULL,      des_districtdes     nvarchar(50)       NULL,      des_provincedes     nvarchar(50)       NULL,      des_countrydes      nvarchar(50)       NULL,      famReason           bit                NULL,      ecoReason           bit                NULL,      eduReason           bit                NULL,      warReason           bit                NULL,      othReason           bit                NULL,      out_reasondes       ntext              NULL,      provincecode        numeric(18, 0)     NULL,      CONSTRAINT Reflocation30 FOREIGN KEY (locationid)      REFERENCES dbo.location(locationid),      CONSTRAINT Refsocialgroup36 FOREIGN KEY (socialgpid)      REFERENCES dbo.socialgroup(socialgpid),      CONSTRAINT Refobservation42 FOREIGN KEY (observeid)      REFERENCES dbo.observation(observeid) ) TEXTIMAGE_ON PRIMARY go |
| PostSQL |
| householdout Columns |
| ColumnName | Domain | Datatype | NULL | Definition |
| eventid | int | NO | ||
observeid |
nvarchar(12) | YES | ||
| out_date | datetime | YES | ||
| out_type | int | YES | ||
socialgpid |
nvarchar(9) | YES | ||
locationid |
nvarchar(7) | NO | ||
| des_locationid | nvarchar(7) | YES | ||
| des_clusterdes | nvarchar(50) | YES | ||
| des_communedes | nvarchar(50) | YES | ||
| des_districtdes | nvarchar(50) | YES | ||
| des_provincedes | nvarchar(50) | YES | ||
| des_countrydes | nvarchar(50) | YES | ||
| famReason | bit | YES | ||
| ecoReason | bit | YES | ||
| eduReason | bit | YES | ||
| warReason | bit | YES | ||
| othReason | bit | YES | ||
| out_reasondes | ntext | YES | ||
| provincecode | numeric(18, 0) | YES |
| householdout Primary and Unique Keys |
| Key Name | Key Type | Keys |
| householdout Foreign Keys |
| Parent Relationships: |
| Table Name | Type | Cardinality | Constraint Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype | Not For Replication |
| location | Non-Identifying | One To Zero or More | locationid | NO | NO | |||
| socialgroup | Non-Identifying | Zero or One to Zero or More | socialgpid | NO | NO | |||
| observation | Non-Identifying | Zero or One to Zero or More | observeid | NO | NO |
| Child Relationships: |
| Table Name | Type | Cardinality | Constraint Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype | Not For Replication |
| householdout Check Constraints |
| Check Constraint Name | CheckConstraint |
| householdout Storage |
| STORAGE OPTION | STORAGE VALUE |
| Filegroup | PRIMARY |
| Text Image File Group | PRIMARY |
| householdout Growth Metrics |
| TABLE METRIC | TABLE METRIC VALUE |
| Current Row Count | 0 |
| Growth | Static |
| Growth Type | N/A |
| Growth Period | N/A |
| Maximum Rows | 0 |
| householdout Object Permissions |
| User/Role Name | Grantee Type | Permission Type | Action Type | Is Action Extended | Is System |
| householdout Security Types |
| Name | Current Value |
| householdout Bound Attachments |
| Name | Current Value |
| householdout Where Used - Model Usage |
| Mapped Object | Is User Defined? | Denormalization Mappings | Description | Bound Attachments |
| Logical dbo.householdout |
NO | |||
| Physical (Microsoft SQL Server) dbo.householdout |
NO |
| householdout Where Used - Submodel Usage |
| Model | Submodel Usage |
| Logical | Main Model |
| Physical (Microsoft SQL Server) | Main Model |
| householdout Data Movement Rules |
| Name | Type | Rule Text/Value |