SQLFUNCTIONCATALOG

The SQLFUNCTIONCATALOG table contains meta data about application related stored functions added to the system.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
FUNCTIONNAME nvarchar(128) Default = '' Name of the function
DESCRIPTION nvarchar(max) Default = '' A description of the functionality of the function.
SQLFUNCTIONSPECXML xml Contains the xml definition from which the function 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_SQLFUNCTIONCATALOG_DATEADDED DATEADDED yes
PK_SQLFUNCTIONCATALOG ID yes yes
UC_SQLFUNCTIONCATALOG_FUNCTIONNAME FUNCTIONNAME yes

Triggers

Trigger Name Description
TR_SQLFUNCTIONCATALOG_AUDIT_UPDATE
TR_SQLFUNCTIONCATALOG_AUDIT_DELETE

Referenced by

Referenced by Field
SPONSORSHIPPROGRAM MATCHFUNCTIONID