BRIDGE_RESOURCE_ROLES
This is the association table between the DIM_RESOURCES and DIM_ROLES tables.
Foreign Keys
Primary Key Table |
Primary Key Column |
Foreign Key Column |
---|---|---|
DIM_RESOURCES |
RESOURCE_ID |
PK_RESOURCES_ID |
DIM_ROLES |
ROLE_ID |
PK_ROLES_ID |
Column Descriptions
Column Name |
Null? |
Data Type |
Description |
SCD2 |
---|---|---|---|---|
PK_ BRIDGE_RESOURCE_ROLES_ID |
Not Null |
INT |
System-generated identifier |
No |
MD_BUSINESS_KEY |
Nullable |
VARCHAR(1000) |
Primary key that is mapped to one or more source columns
|
No |
MD_ENTERPRISE_KEY |
Nullable |
INT |
Unique identifier for entity |
No |
RESOURCE_ID |
Nullable |
INT |
Unique identifier for resources |
Yes |
RESOURCE_BUSINESS_KEY |
Nullable |
VARCHAR(1000) |
Foreign key that is mapped to DIM_ RESOURCES
|
Yes |
RESOURCE_ENTERPRISE_KEY |
Nullable |
INT |
Unique identifier for foreign key
|
Yes |
ROLE_ID |
Nullable |
INT |
Unique identifier for roles |
Yes |
ROLE_BUSINESS_KEY |
Nullable |
VARCHAR(1000) |
Foreign key that is mapped to DIM_ROLES
|
Yes |
ROLE_ENTERPRISE_KEY |
Nullable |
INT |
Unique identifier for foreign key
|
Yes |
RESOURCE_ROLE_SEQ |
Nullable |
INT |
Used to order the roles as they are created |
No |
MD_BATCH_ID |
Nullable |
INT |
ID of data batch |
No |
MD_PROCESS_ID |
Nullable |
INT |
ID of ETL process running on a specific task |
No |
MD_SOURCE_INSTANCE_ID |
Nullable |
INT |
Content pack ID of source instance |
No |
MD_CREATEDDATE |
Nullable |
DATETIME |
Date of the record being inserted |
No |
MD_DELETEDDATE |
Nullable |
DATETIME |
Date of the record being deleted |
No |
MD_LASTMODDATE |
Nullable |
DATETIME |
Date of the record being updated |
No |
MD_TRANSLASTIND |
Nullable |
VARCHAR(1) |
Flags whether it is the latest record after updated by SCD2 |
No |
MD_TRANSENDDATE |
Nullable |
DATETIME |
End date of the record being effective |
No |
MD_ACTIVESTATUSIND |
Nullable |
VARCHAR(1) |
Flags whether or not the old record is deleted |
No |
MD_HASH_CODE_SCD1 |
Nullable |
VARCHAR(40) |
(Only for dimension table) Hash code that is generated by SCD1 columns |
No |
MD_HASH_CODE_SCD2 |
Nullable |
VARCHAR(40) |
(Only for dimension table) Hash code that is generated by SCD2 columns |
No |
Projections
This table uses no projections.
Sequences
Sequence Name |
Sequence Type |
---|---|
RESOURCE_ROLES_ENTERPRISE_XREF_SEQ |
MD_ENTERPRISE_KEY |
RESOURCE_ROLES_KEY_LOOKUP_SEQ |
PK_RESOURCE_ROLES_ID |
RESOURCES_ENTERPRISE_XREF_SEQ |
RESOURCE_ENTERPRISE_KEY |
RESOURCES_KEY_LOOKUP_SEQ |
PK_RESOURCE |
ROLES_ENTERPRISE_XREF_SEQ |
ROLE_ENTERPRISE_KEY |
ROLES_KEY_LOOKUP_SEQ |
PK_ROLE |