Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 GRANTORDENY bit   Default = 0 1 if Granted, 0 if Denied
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 SYSTEMROLEID uniqueidentifier   SYSTEMROLE.ID FK to SYSTEMROLE
 RECORDOPERATIONCATALOGID uniqueidentifier   RECORDOPERATIONCATALOG.ID FK to RECORDOPERATIONCATALOG
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_SYSTEMROLEPERM_RECORDOPERATION_DATEADDED DATEADDED    
 IX_SYSTEMROLEPERM_RECORDOPERATION_DATECHANGED DATECHANGED      
 IX_SYSTEMROLEPERM_RECORDOPERATION_RECORDOPERATIONCATALOGID RECORDOPERATIONCATALOGID      
 PK_SYSTEMROLEPERM_RECORDOPERATION ID  
 UIX_SYSTEMROLEPERM_RECORDOPERATION_SYSTEMROLEID_RECORDOPERATIONCATALOGID SYSTEMROLEID, RECORDOPERATIONCATALOGID    

Trigger Name Description
 TR_SYSTEMROLEPERM_RECORDOPERATION_AUDIT_UPDATE
 TR_SYSTEMROLEPERM_RECORDOPERATION_AUDIT_DELETE

Entity-Relationship diagram of this table