FACULTYSECURITYSTUDENTACCESS
Determines which students and which features a faculty has access to.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
POSITIONCODE |
tinyint |
|
Default = 0 |
The faculty position for which access is being defined. |
POSITION |
nvarchar(8) (Computed) |
yes |
CASE [POSITIONCODE] WHEN 0 THEN N'Faculty' WHEN 1 THEN N'Advisors' END |
Provides a translation for the 'POSITIONCODE' field. |
GRADESCODE |
tinyint |
|
Default = 1 |
Determines which students faculty can access grades for. |
GRADES |
nvarchar(17) (Computed) |
yes |
CASE [GRADESCODE] WHEN 0 THEN N'All students' WHEN 1 THEN N'Assigned students' END |
Provides a translation for the 'GRADESCODE' field. |
TESTSCORESCODE |
tinyint |
|
Default = 1 |
Determines which students faculty can access test scores for. |
TESTSCORES |
nvarchar(17) (Computed) |
yes |
CASE [TESTSCORESCODE] WHEN 0 THEN N'All students' WHEN 1 THEN N'Assigned students' END |
Provides a translation for the 'TESTSCORESCODE' 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_FACULTYSECURITYSTUDENTACCESS_DATEADDED |
DATEADDED |
|
|
yes |
IX_FACULTYSECURITYSTUDENTACCESS_DATECHANGED |
DATECHANGED |
|
|
|
PK_FACULTYSECURITYSTUDENTACCESS |
ID |
yes |
yes |
|
Triggers