View rice-2.1.1.krim_role_role_v Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
NMSPC_CD varchar 40  √  null
ROLE_NM varchar 80  √  null
role_id varchar 40  √ 
krim_role_t.ROLE_ID Implied Constraint R
mbr_role_nmspc_cd varchar 40  √  null
mbr_role_nm varchar 80  √  null
mbr_role_id varchar 40  √ 
role_mbr_id varchar 40
krim_role_mbr_t.ROLE_MBR_ID Implied Constraint R
attr_nm varchar 100  √  null
attr_val varchar 400  √  null

Analyzed at Tue Sep 18 22:24 PDT 2012

View Definition:
select `r`.`NMSPC_CD` AS `NMSPC_CD`,`r`.`ROLE_NM` AS `ROLE_NM`,`r`.`ROLE_ID` AS `role_id`,`mr`.`NMSPC_CD` AS `mbr_role_nmspc_cd`,`mr`.`ROLE_NM` AS `mbr_role_nm`,`mr`.`ROLE_ID` AS `mbr_role_id`,`rm`.`ROLE_MBR_ID` AS `role_mbr_id`,`a`.`NM` AS `attr_nm`,`d`.`ATTR_VAL` AS `attr_val` from ((((`rice-2.1.1`.`krim_role_mbr_t` `rm` left join `rice_2_1_1clean`.`krim_role_t` `r` on((`r`.`ROLE_ID` = `rm`.`ROLE_ID`))) left join `rice_2_1_1clean`.`krim_role_t` `mr` on((`mr`.`ROLE_ID` = `rm`.`MBR_ID`))) left join `rice_2_1_1clean`.`krim_role_mbr_attr_data_t` `d` on((`d`.`ROLE_MBR_ID` = `rm`.`ROLE_MBR_ID`))) left join `rice_2_1_1clean`.`krim_attr_defn_t` `a` on((`a`.`KIM_ATTR_DEFN_ID` = `d`.`KIM_ATTR_DEFN_ID`))) where (`rm`.`MBR_TYP_CD` = 'R') order by `r`.`NMSPC_CD`,`r`.`ROLE_NM`,`mr`.`NMSPC_CD`,`mr`.`ROLE_NM`,`rm`.`ROLE_MBR_ID`,`a`.`NM`
 
Possibly Referenced Tables/Views:


Close relationships: