BLDG 
Logical Entity Name  Bldg 
Default Table Name  BLDG 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner   
Definition 
Building: The master list of buildings associated with the SNS facility.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE BLDG(
     BLDG_ID             VARCHAR2(10)      NOT NULL,
     BLDG_NM             VARCHAR2(120)     NOT NULL,
     BLDG_ABBRV_CODE     CHAR(2),
     CONSTRAINT BLDG_PK PRIMARY KEY (BLDG_ID)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE EQUIP_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 )
)
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
TABLESPACE EQUIP_TS
LOGGING
NOPARALLEL
STORAGE(INITIAL 64K
         NEXT 64K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

BLDG Columns 
ColumnName  Domain  Datatype  NULL  Definition 
BLDG_ID(PK)    VARCHAR2(10)  NO 
Building Code: The unique identifier for a building. 
 
BLDG_NM  Name  VARCHAR2(120)  NO 
Building Name:  The name of the building within the SNS Facility
 
BLDG_ABBRV_CODE    CHAR(2)  YES 
Building Abbreviation Code:  A two character abbreviation for the building.
 

BLDG Primary and Unique Keys 
Key Name  Key Type  Keys 
BLDG_PK  PrimaryKey  BLDG_ID 

BLDG Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
BLDG_AREA  Identifying  One To Zero or More  BLDG_CODE_RF  contains  is part of    NO  NO  NO 

BLDG Check Constraints 
Check Constraint Name  CheckConstraint 

BLDG Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  EQUIP_TS 
PctFree  10 
PCTUSED   40 
MinExtents 
MaxExtents  2147483645 
Initial  64 
Next  64 
PctIncrease 
InitTrans 
MaxTrans  255 
Organization  Heap 
Cache  NO 
Logging   
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS   
FREELIST GROUPS   
Buffer Pool   
Table Compression  NO 
Row Movement  Disabled 

BLDG Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

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

BLDG Object Permissions 

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

BLDG Bound Attachments 
Name  Current Value 

BLDG Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
EQUIP.Building 
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)
BLDG 
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)
Does Not Exist 
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       

BLDG Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Equipment 
Logical  Part Inventory 
EQUIP (Oracle)  Main Model 

BLDG Data Movement Rules 
Name  Type  Rule Text/Value