VSETYPE
Table to store the type of VSE report to run for this organization.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| VSETYPECODE |
tinyint |
|
Default = 0 |
0=College, 1=Secondary School |
| VSETYPE |
nvarchar(16) (Computed) |
yes |
CASE [VSETYPECODE] WHEN 0 THEN N'College' WHEN 1 THEN N'Secondary School' END |
Provides a translation for the 'VSETYPECODE' field. |
| 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. |
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_VSETYPE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_VSETYPE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_VSETYPE |
ID |
yes |
yes |
|
Triggers