SMPL_ATTACH 
Logical Entity Name  Sample Attachment 
Default Table Name  SMPL_ATTACH 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  SMPL 
Definition 
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE SMPL.SMPL_ATTACH(
     ATTACH_ID          NUMBER(38, 0)     NOT NULL,
     FILE_NM            VARCHAR2(255)     NOT NULL,
     MIME_TYPE          VARCHAR2(255)     NOT NULL,
     FILE_CONTENT       BLOB              NOT NULL,
     ATTACH_TYPE_ID     VARCHAR2(25),
     CONSTRAINT PK_SMPL_ATTACH PRIMARY KEY (ATTACH_ID)
     USING INDEX
         LOGGING,
     CONSTRAINT fk_smpl_attach_to_attach_type FOREIGN KEY (ATTACH_TYPE_ID)
     REFERENCES SMPL.ATTACH_TYPE(ATTACH_TYPE_ID)
)
LOGGING
NOPARALLEL
NOCACHE
NOCOMPRESS
;
 
PostSQL   

SMPL_ATTACH Columns 
ColumnName  Domain  Datatype  NULL  Definition 
ATTACH_ID(PK)  Identifier  NUMBER(38, 0)  NO 
 
FILE_NM  File Name  VARCHAR2(255)  NO 
File Name: An external file system file name.  Often the external file name of data imported into the Rdb, such as EPICS .db files.
 
MIME_TYPE  MIME Type  VARCHAR2(255)  NO 
MIME Type: Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of e-mail to support:


* text in character sets other than US-ASCII;
* non-text attachments;
* message bodies with multiple parts; and
* header information in non-ASCII character sets.

MIME's use, however, has grown beyond describing the content of e-mail to describing content type in general.
 
FILE_CONTENT    BLOB  NO 
 
ATTACH_TYPE_ID(FK)  Identifier  VARCHAR2(25)  YES 
 

SMPL_ATTACH Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_SMPL_ATTACH  PrimaryKey  ATTACH_ID 

SMPL_ATTACH Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
ATTACH_TYPE  Non-Identifying  Zero or One to Zero or More  fk_smpl_attach_to_attach_type      ATTACH_TYPE_ID  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
SAMPLE_SMPL_ATTACH_ASSC  Identifying  One To Zero or More  fk_smpl_attach_to_sample        NO  NO  NO 
SMPL_SHIP_SMPL_ATTCH_ASSC  Identifying  One To Zero or More  FK_SSSAA_TO_SMPL_ATTACH        NO  NO  NO 

SMPL_ATTACH Check Constraints 
Check Constraint Name  CheckConstraint 

SMPL_ATTACH Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE   
PctFree   
PCTUSED    
MinExtents   
MaxExtents   
Initial   
Next   
PctIncrease   
InitTrans   
MaxTrans   
Organization  Heap 
Cache  NO 
Logging   
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS   
FREELIST GROUPS   
Buffer Pool   
Table Compression  NO 
Compress Expression   
Row Movement  Disabled 

SMPL_ATTACH Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

SMPL_ATTACH Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows 
Average Row Size 

SMPL_ATTACH Object Permissions 

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

SMPL_ATTACH Bound Attachments 
Name  Current Value 

SMPL_ATTACH Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
SMPL.Sample Attachment 
NO       
ALARM_MYSQL (MySQL)
Does Not Exist 
NO       
ALARM_ORACLE (Oracle)
Does Not Exist 
NO       
BICS (Oracle)
Does Not Exist 
NO       
BLM (Oracle)
Does Not Exist 
NO       
BYPASS_REQ (Oracle)
Does Not Exist 
NO       
CHAN_ARCH (Oracle)
Does Not Exist 
NO       
CNMS_PRPSL (Oracle)
Does Not Exist 
NO       
DIAG (Oracle)
Does Not Exist 
NO       
DIAG_MPS (Oracle)
Does Not Exist 
NO       
ENGA (Oracle)
Does Not Exist 
NO       
EPICS (Oracle)
Does Not Exist 
NO       
EQUIP (Oracle)
Does Not Exist 
NO       
EXPRESS (Oracle)
Does Not Exist 
NO       
ICS_SFTW_APPL (Oracle)
Does Not Exist 
NO       
INSTR (Oracle)
Does Not Exist 
NO       
Instrument Logbook (Oracle)
Does Not Exist 
NO       
INVT (Oracle)
Does Not Exist 
NO       
IONSRC (Oracle)
Does Not Exist 
NO       
IONSRC1 (Oracle)
Does Not Exist 
NO       
IPTSv5 (Oracle)
Does Not Exist 
NO       
IRMISBase (Oracle)
Does Not Exist 
NO       
Logbook (Oracle)
Does Not Exist 
NO       
Magnet (Oracle)
Does Not Exist 
NO       
MPS (Oracle)
Does Not Exist 
NO       
NS_OPER (Oracle)
Does Not Exist 
NO       
OPER (Oracle)
Does Not Exist 
NO       
PART (Oracle)
Does Not Exist 
NO       
PRINT (Oracle)
Does Not Exist 
NO       
PROC (Oracle)
Does Not Exist 
NO       
PRPSL (Oracle)
Does Not Exist 
NO       
PUBL (Oracle)
Does Not Exist 
NO       
PUBL_V1 (Oracle)
Does Not Exist 
NO       
PV_LOGGER (Oracle)
Does Not Exist 
NO       
SCORE (Oracle)
Does Not Exist 
NO       
SICAT (Oracle)
Does Not Exist 
NO       
SMPL (Oracle)
SMPL.SMPL_ATTACH 
NO       
SMPLACT (Oracle)
Does Not Exist 
NO       
SURVEY (Oracle)
Does Not Exist 
NO       
Watchman (Oracle)
Does Not Exist 
NO       
XAL_OPTICS (Oracle)
Does Not Exist 
NO       
XF_ADMIN (Oracle)
Does Not Exist 
NO       

SMPL_ATTACH Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Sample 
SMPL (Oracle)  Main Model 

SMPL_ATTACH Data Movement Rules 
Name  Type  Rule Text/Value