SQLPROCEDURECATALOG

The SQLPROCEDURECATALOG table contains meta data about application related stored procedures added to the system.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
PROCEDURENAME nvarchar(128) Default = '' Name of the procedure
DESCRIPTION nvarchar(max) Default = '' A description of the functionality of the procedure.
SQLPROCEDURESPECXML xml Contains the xml definition from which the procedure 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) yes convert(bigint, TS) Numeric representation of the timestamp
MARTKEY nvarchar(255) yes

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT

Indexes

Index Name Fields Unique Primary Clustered
IX_SQLPROCEDURECATALOG_DATEADDED DATEADDED yes
PK_SQLPROCEDURECATALOG ID yes yes
UC_SQLPROCEDURECATALOG_PROCEDURENAME PROCEDURENAME yes

Triggers

Trigger Name Description
TR_SQLPROCEDURECATALOG_AUDIT_UPDATE
TR_SQLPROCEDURECATALOG_AUDIT_DELETE

Referenced by

Referenced by Field
ATTRIBUTECATEGORY SQLPROCEDURECATALOGID
BATCHTYPECATALOG VALIDATIONSPECID
BATCHTYPECATALOG VALIDATIONEDITSPECID