SFCORE_USER_ROLES 
Logical Entity Name  SFCORE_USER_ROLES 
Default Table Name  SFCORE_USER_ROLES 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFCORE_USER_ROLES(
     USERID          varchar(30)          COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     ROLE            varchar(80)          COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     UPDT_USERID     varchar(30)          COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFCORE_US__UPDT___55B7F9AC] DEFAULT (user_name()) NOT NULL,
     TIME_STAMP      datetime             CONSTRAINT [DF__SFCORE_US__TIME___56AC1DE5] DEFAULT (getdate()) NOT NULL,
     ROWID           uniqueidentifier     CONSTRAINT [DF__SFCORE_US__ROWID__57A0421E] DEFAULT (newid()) NOT NULL,
     CONSTRAINT SFCORE_USER_ROLES_FK2 FOREIGN KEY (USERID)
     REFERENCES SFMFG.SFCORE_USER(USERID) ON DELETE CASCADE,
     CONSTRAINT SFCORE_USER_ROLES_FK1 FOREIGN KEY (ROLE)
     REFERENCES SFMFG.SFCORE_ROLES(ROLE) ON DELETE CASCADE
)ON SFADMIN_DATA
go



ALTER TABLE SFMFG.SFCORE_USER_ROLES ADD
     CONSTRAINT SFCORE_USER_ROLES_PK PRIMARY KEY CLUSTERED (USERID, ROLE)
     ON SFADMIN_DATA
go
 

SFCORE_USER_ROLES Columns 
ColumnName  Domain  Datatype  NULL  Definition 
USERID(PK)(FK)    varchar(30)  NO 
 
ROLE(PK)(FK)    varchar(80)  NO 
 
UPDT_USERID    varchar(30)  NO 
 
TIME_STAMP    datetime  NO 
 
ROWID    uniqueidentifier  NO 
 

SFCORE_USER_ROLES Primary and Unique Keys 
Key Name  Key Type  Keys 
SFCORE_USER_ROLES_PK  PrimaryKey  USERID, ROLE 

SFCORE_USER_ROLES Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SFCORE_ROLES  Identifying  One To Zero or More  SFCORE_USER_ROLES_FK1      ROLE  NO  NO 
SFCORE_USER  Identifying  One To Zero or More  SFCORE_USER_ROLES_FK2      USERID  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 

SFCORE_USER_ROLES Check Constraints 
Check Constraint Name  CheckConstraint 

SFCORE_USER_ROLES Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  SFADMIN_DATA 
Text Image File Group   

SFCORE_USER_ROLES Object Permissions 

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

SFCORE_USER_ROLES Bound Attachments 
Name  Current Value 

SFCORE_USER_ROLES Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFCORE_USER_ROLES   
 
PhysicalOracle (Oracle)  SFCORE_USER_ROLES   
 
PhysicalSS (Microsoft SQL Server)  SFMFG.SFCORE_USER_ROLES   
 

SFCORE_USER_ROLES Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  SFCORE 
PhysicalOracle (Oracle)  Main Model 
PhysicalOracle (Oracle)  SFCORE 
PhysicalSS (Microsoft SQL Server)  Main Model 
PhysicalSS (Microsoft SQL Server)  SFCORE 

SFCORE_USER_ROLES User-Defined Mappings 
Model  Name  Description