SFCORE_ROLES 
Logical Entity Name  SFCORE_ROLES 
Default Table Name  SFCORE_ROLES 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFCORE_ROLES(
     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_RO__UPDT___06903B31] DEFAULT (user_name()) NOT NULL,
     TIME_STAMP      datetime             CONSTRAINT [DF__SFCORE_RO__TIME___07845F6A] DEFAULT (getdate()) NOT NULL,
     ROLE_DESC       varchar(255)         COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     STYPE           varchar(32)          COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     ROWID           uniqueidentifier     CONSTRAINT [DF__SFCORE_RO__ROWID__087883A3] DEFAULT (newid()) NOT NULL,
     CONSTRAINT SFCORE_ROLES_STYPE_FK FOREIGN KEY (STYPE)
     REFERENCES SFMFG.SFCORE_MODULES(GROUP_NAME)
)ON SFADMIN_DATA
go



ALTER TABLE SFMFG.SFCORE_ROLES ADD
     CONSTRAINT SFCORE_ROLES_PK PRIMARY KEY CLUSTERED (ROLE)
     ON SFADMIN_DATA
go
 

SFCORE_ROLES Columns 
ColumnName  Domain  Datatype  NULL  Definition 
ROLE(PK)    varchar(80)  NO 
 
UPDT_USERID    varchar(30)  NO 
 
TIME_STAMP    datetime  NO 
 
ROLE_DESC    varchar(255)  YES 
 
STYPE(FK)    varchar(32)  YES 
 
ROWID    uniqueidentifier  NO 
 

SFCORE_ROLES Primary and Unique Keys 
Key Name  Key Type  Keys 
SFCORE_ROLES_PK  PrimaryKey  ROLE 

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

SFCORE_ROLES Check Constraints 
Check Constraint Name  CheckConstraint 

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

SFCORE_ROLES Object Permissions 

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

SFCORE_ROLES Bound Attachments 
Name  Current Value 

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

SFCORE_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_ROLES User-Defined Mappings 
Model  Name  Description