Table: Standard_Text | |||
Columns | |||
Name | Type | Constraints | Description |
standard_text_KEY | int | NOT NULL | AUTO-INCREMENT: Database assigned primary key for this table |
update__staff_KEY | int | NOT NULL | |
update_date_utc | datetime | NOT NULL | |
standard_text_id | nvarchar (11) | NOT NULL | User defined identifier (unique). |
long_description | nvarchar (-1) | NOT NULL | Text to use as a standard comment |
create_date_utc | datetime | NOT NULL | |
standard_text_id_sortable | varchar (48) | NOT NULL | A representation of the standard_text_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 standard_text_id. |
Primary key | |||
Name | Columns | Description | |
PK_Standard_Text$standard_text_KEY | standard_text_KEY | CLUSTERED | |
Unique constraints | |||
Name | Columns | Description | |
UK_Standard_Text$standard_text_id | standard_text_id | Each id must be unique. | |
UK_Standard_Text$standard_text_id_sortable | standard_text_id_sortable | An index by the sortable ID is desired, and the algorithm ends up producing unique values. |