SFOR_SFPL_PLAN_SUBJECT_PART 
Logical Entity Name  SFOR_SFPL_PLAN_SUBJECT_PART 
Default Table Name  SFOR_SFPL_PLAN_SUBJECT_PART 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE SFMFG.SFOR_SFPL_PLAN_SUBJECT_PART(
     PLAN_ID          varchar(40)     COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     PLAN_UPDT_NO     int             CONSTRAINT [DF__SFOR_SFPL__PLAN___0E71541B] DEFAULT ((1)) NOT NULL,
     SUBJECT_NO       int             NOT NULL,
     SUBJECT_REV      int             CONSTRAINT [DF__SFOR_SFPL__SUBJE__0F657854] DEFAULT ((1)) NOT NULL,
     PART_NO          varchar(50)     COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     UPDT_USERID      varchar(30)     COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFOR_SFPL__UPDT___10599C8D] DEFAULT (user_name()) NOT NULL,
     TIME_STAMP       datetime        CONSTRAINT [DF__SFOR_SFPL__TIME___114DC0C6] DEFAULT (getdate()) NOT NULL,
     LAST_ACTION      varchar(20)     COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFOR_SFPL__LAST___1241E4FF] DEFAULT ('INSERTED') NOT NULL,
     PART_CHG         varchar(10)     COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     CONSTRAINT SFOR_PLAN_SUBJPART_PLANSUBJ_FK FOREIGN KEY (PLAN_ID, PLAN_UPDT_NO, SUBJECT_NO)
     REFERENCES SFMFG.SFOR_SFPL_PLAN_SUBJECT(PLAN_ID, PLAN_UPDT_NO, SUBJECT_NO)
)ON SFPL_DATA
go



ALTER TABLE SFMFG.SFOR_SFPL_PLAN_SUBJECT_PART ADD
     CONSTRAINT SFOR_SFPL_PLAN_SUBJECT_PART_PK PRIMARY KEY CLUSTERED (PLAN_ID, PLAN_UPDT_NO, SUBJECT_NO, PART_NO)
     ON SFPL_DATA
go
 
PostSQL   

SFOR_SFPL_PLAN_SUBJECT_PART Columns 
ColumnName  Domain  Datatype  NULL  Definition 
PLAN_ID(PK)(FK)    varchar(40)  NO 
 
PLAN_UPDT_NO(PK)(FK)    int  NO 
 
SUBJECT_NO(PK)(FK)    int  NO 
 
SUBJECT_REV    int  NO 
 
PART_NO(PK)    varchar(50)  NO 
 
UPDT_USERID    varchar(30)  NO 
 
TIME_STAMP    datetime  NO 
 
LAST_ACTION    varchar(20)  NO 
 
PART_CHG    varchar(10)  YES 
 

SFOR_SFPL_PLAN_SUBJECT_PART Primary and Unique Keys 
Key Name  Key Type  Keys 
SFOR_SFPL_PLAN_SUBJECT_PART_PK  PrimaryKey  PLAN_ID, PLAN_UPDT_NO, SUBJECT_NO, PART_NO 

SFOR_SFPL_PLAN_SUBJECT_PART Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SFOR_SFPL_PLAN_SUBJECT  Identifying  One To Zero or More  SFOR_PLAN_SUBJPART_PLANSUBJ_FK      PLAN_ID, PLAN_UPDT_NO, SUBJECT_NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 

SFOR_SFPL_PLAN_SUBJECT_PART Check Constraints 
Check Constraint Name  CheckConstraint 

SFOR_SFPL_PLAN_SUBJECT_PART Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  SFPL_DATA 
Text Image File Group   

SFOR_SFPL_PLAN_SUBJECT_PART Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count  0 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows  0 

SFOR_SFPL_PLAN_SUBJECT_PART Object Permissions 

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

SFOR_SFPL_PLAN_SUBJECT_PART Bound Attachments 
Name  Current Value 

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

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

SFOR_SFPL_PLAN_SUBJECT_PART User-Defined Mappings 
Model  Name  Description 

SFOR_SFPL_PLAN_SUBJECT_PART Data Movement Rules 
Name  Type  Rule Text/Value