SFSQA_SAMPLE_PLAN_DESC 
Logical Entity Name  SFSQA_SAMPLE_PLAN_DESC 
Default Table Name  SFSQA_SAMPLE_PLAN_DESC 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFSQA_SAMPLE_PLAN_DESC(
     SAMPLE_PLAN_ID        varchar(40)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     SAMPLE_PLAN_NAME      varchar(30)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     SAMPLE_PLAN_DESC      varchar(80)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     STATUS                varchar(20)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     TIME_STAMP            datetime         CONSTRAINT [DF__SFSQA_SAM__TIME___1475118B] DEFAULT (getdate()) NOT NULL,
     LAST_ACTION           varchar(20)      COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFSQA_SAM__LAST___156935C4] DEFAULT ('INSERTED') NOT NULL,
     UPDT_USERID           varchar(30)      COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFSQA_SAM__UPDT___165D59FD] DEFAULT (user_name()) NOT NULL,
     SP_PROCESS_TYPE       varchar(30)      COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     VIEW_NAME             varchar(30)      COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     REASON_FOR_CHANGE     varchar(255)     COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     CONSTRAINT SFSQA_SP_PROC_TYPE_FK FOREIGN KEY (SP_PROCESS_TYPE)
     REFERENCES SFMFG.SFSQA_SAMPLE_PLAN_PROCESS_TYPE(SP_PROCESS_TYPE)
)ON SFSQA_DATA
go



ALTER TABLE SFMFG.SFSQA_SAMPLE_PLAN_DESC ADD
     CONSTRAINT SFSQA_SAMPL_PLAN_DESC_PK PRIMARY KEY CLUSTERED (SAMPLE_PLAN_ID)
     ON SFSQA_DATA
go
 

SFSQA_SAMPLE_PLAN_DESC Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SAMPLE_PLAN_ID(PK)    varchar(40)  NO 
 
SAMPLE_PLAN_NAME    varchar(30)  NO 
 
SAMPLE_PLAN_DESC    varchar(80)  NO 
 
STATUS    varchar(20)  NO 
 
TIME_STAMP    datetime  NO 
 
LAST_ACTION    varchar(20)  NO 
 
UPDT_USERID    varchar(30)  NO 
 
SP_PROCESS_TYPE(FK)    varchar(30)  YES 
 
VIEW_NAME    varchar(30)  YES 
 
REASON_FOR_CHANGE    varchar(255)  YES 
 

SFSQA_SAMPLE_PLAN_DESC Primary and Unique Keys 
Key Name  Key Type  Keys 
SFSQA_SAMPL_PLAN_DESC_PK  PrimaryKey  SAMPLE_PLAN_ID 

SFSQA_SAMPLE_PLAN_DESC Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SFSQA_SAMPLE_PLAN_PROCESS_TYPE  Non-Identifying  Zero or One to Zero or More  SFSQA_SP_PROC_TYPE_FK      SP_PROCESS_TYPE  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 
SFSQA_SAMPLING_RULE_DESC  Non-Identifying  One To Zero or More  SFSQA_SAMP_RULE_SPLAN_FK        NO  NO 
SFSQA_SAMPLE_PLAN_DETAILS  Identifying  One To Zero or More  SFSQA_SAMPL_PLAN_DESC_FK        NO  NO 

SFSQA_SAMPLE_PLAN_DESC Check Constraints 
Check Constraint Name  CheckConstraint 

SFSQA_SAMPLE_PLAN_DESC Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  SFSQA_DATA 
Text Image File Group   

SFSQA_SAMPLE_PLAN_DESC Object Permissions 

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

SFSQA_SAMPLE_PLAN_DESC Bound Attachments 
Name  Current Value 

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

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

SFSQA_SAMPLE_PLAN_DESC User-Defined Mappings 
Model  Name  Description