Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 PACKAGENAME nvarchar(128)   Default = '' Name of the package
 DESCRIPTION nvarchar(max)   Default = '' A description of the package.
 PACKAGESPECXML xml   Contains the xml definition from which the package Was built.
 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
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT

Index Name Field(s) Unique Primary Clustered
 IX_PACKAGECATALOG_DATEADDED DATEADDED    
 PK_PACKAGECATALOG ID  
 UC_PACKAGECATALOG_PACKAGENAME PACKAGENAME    

Trigger Name Description
 TR_PACKAGECATALOG_AUDIT_UPDATE
 TR_PACKAGECATALOG_AUDIT_DELETE

Entity-Relationship diagram of this table