SFPL_PLAN_IMAGE 
Logical Entity Name  SFPL_PLAN_IMAGE 
Default Table Name  SFPL_PLAN_IMAGE 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFPL_PLAN_IMAGE(
     PLAN_ID              varchar(40)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     PLAN_VERSION         int              CONSTRAINT [DF__SFPL_PLAN__PLAN___02958D1B] DEFAULT ((1)) NOT NULL,
     PLAN_REVISION        int              CONSTRAINT [DF__SFPL_PLAN__PLAN___0389B154] DEFAULT ((1)) NOT NULL,
     PLAN_ALTERATIONS     int              CONSTRAINT [DF__SFPL_PLAN__PLAN___047DD58D] DEFAULT ((0)) NOT NULL,
     UPDT_USERID          varchar(30)      COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFPL_PLAN__UPDT___0571F9C6] DEFAULT (user_name()) NOT NULL,
     TIME_STAMP           datetime         CONSTRAINT [DF__SFPL_PLAN__TIME___06661DFF] DEFAULT (getdate()) NOT NULL,
     LAST_ACTION          varchar(20)      COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFPL_PLAN__LAST___075A4238] DEFAULT ('INSERTED') NULL,
     PLAN_IMAGE           varchar(max)     COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     CONSTRAINT SFPL_PLANIMG_PLANREV_FK FOREIGN KEY (PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
     REFERENCES SFMFG.SFPL_PLAN_REV(PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS) ON DELETE CASCADE
)ON SFPL_DATA
go



ALTER TABLE SFMFG.SFPL_PLAN_IMAGE ADD
     CONSTRAINT SFPL_PLAN_IMAGE_PK PRIMARY KEY CLUSTERED (PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
     ON SFPL_DATA
go
 

SFPL_PLAN_IMAGE Columns 
ColumnName  Domain  Datatype  NULL  Definition 
PLAN_ID(PK)(FK)    varchar(40)  NO 
 
PLAN_VERSION(PK)(FK)    int  NO 
 
PLAN_REVISION(PK)(FK)    int  NO 
 
PLAN_ALTERATIONS(PK)(FK)    int  NO 
 
UPDT_USERID    varchar(30)  NO 
 
TIME_STAMP    datetime  NO 
 
LAST_ACTION    varchar(20)  YES 
 
PLAN_IMAGE    varchar(max)  YES 
 

SFPL_PLAN_IMAGE Primary and Unique Keys 
Key Name  Key Type  Keys 
SFPL_PLAN_IMAGE_PK  PrimaryKey  PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS 

SFPL_PLAN_IMAGE Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SFPL_PLAN_REV  Identifying  One To Zero or More  SFPL_PLANIMG_PLANREV_FK      PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 

SFPL_PLAN_IMAGE Check Constraints 
Check Constraint Name  CheckConstraint 

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

SFPL_PLAN_IMAGE Object Permissions 

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

SFPL_PLAN_IMAGE Bound Attachments 
Name  Current Value 

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

SFPL_PLAN_IMAGE 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 

SFPL_PLAN_IMAGE User-Defined Mappings 
Model  Name  Description