Table: Education_Sponsor | |||
Columns | |||
Name | Type | Constraints | Description |
education_sponsor_KEY | int | NOT NULL | AUTO-INCREMENT: Database assigned primary key for this table. |
create_date_utc | datetime | NOT NULL | |
update__staff_KEY | int | NOT NULL | |
update_date_utc | datetime | NOT NULL | |
education_sponsor_id | nvarchar (11) | NOT NULL | User defined identifier (unique). |
description | nvarchar (250) | NOT NULL | User defined description. |
education_sponsor_id_sortable | varchar (48) | NOT NULL | A representation of the education_sponsor_id column that sorts in natural order, meaning that digits are sorted as numbers while non-digits are sorted alphabetically. A trigger keeps this field synchronized with the content of education_sponsor_id. |
Primary key | |||
Name | Columns | Description | |
PK_Education_Sponsor$education_sponsor_KEY | education_sponsor_KEY | CLUSTERED | |
Unique constraints | |||
Name | Columns | Description | |
UK_Education_Sponsor$education_sponsor_id | education_sponsor_id | Each education sponsor must be unique. | |
UK_Education_Sponsor$education_sponsor_id_sortable | education_sponsor_id_sortable | An index by the sortable ID is desired, and the algorithm ends up producing unique values. |
Incoming foreign keys | |||
Name | Columns | Referencing table | Description |
FK_Schedule_Item__Education_Sponsor__education_sponsor_KEY | education_sponsor_KEY | Schedule_Item |