FACULTYCOURSE
This table contains information about the relationship between faculty and courses.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| 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. |
| ISRESOURCE |
bit |
|
Default = 0 |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| FACULTYID |
uniqueidentifier |
|
FACULTY.ID
|
A foreign key to the faculty table. |
| COURSEID |
uniqueidentifier |
|
COURSE.ID
|
A foreign key to the course table. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_FACULTYCOURSE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_FACULTYCOURSE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_FACULTYCOURSE |
ID |
yes |
yes |
|
| UIX_FACULTYCOURSE_FACULTYID_COURSEID |
FACULTYID, COURSEID |
yes |
|
|
Triggers
Referenced by