KPIINSTANCEFOLDER
Primary Key
| Primary Key | Field Type |
|---|---|
| ID | uniqueidentifier |
Fields
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| NAME | nvarchar(100) | Default = '' | ||
| DISPLAYORDER | int | Default = 0 | ||
| SECURITYLEVELCODE | tinyint | Default = 0 | ||
| SECURITYLEVEL | nvarchar(14) (Computed) | yes | CASE [SECURITYLEVELCODE] WHEN 0 THEN N'All roles' WHEN 1 THEN N'Selected roles' END | |
| DATEADDED | datetime | Default = getdate() | ||
| DATECHANGED | datetime | Default = getdate() | ||
| TS | timestamp | |||
| TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| PARENTFOLDERID | uniqueidentifier | yes | KPIINSTANCEFOLDER.ID | |
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
| Index Name | Fields | Unique | Primary | Clustered |
|---|---|---|---|---|
| IX_KPIINSTANCEFOLDER_DATEADDED | DATEADDED | yes | ||
| IX_KPIINSTANCEFOLDER_DATECHANGED | DATECHANGED | |||
| IX_KPIINSTANCEFOLDER_PARENTFOLDERID | PARENTFOLDERID | |||
| PK_KPIINSTANCEFOLDER | ID | yes | yes |
Triggers
| Trigger Name | Description |
|---|---|
| TR_KPIINSTANCEFOLDER_AUDIT_UPDATE | |
| TR_KPIINSTANCEFOLDER_AUDIT_DELETE |
Referenced by
| Referenced by | Field |
|---|---|
| KPIINSTANCE | FOLDERID |