Table: Standard_Text
Columns
NameTypeConstraintsDescription
standard_text_KEYintNOT NULLAUTO-INCREMENT: Database assigned primary key for this table
update__staff_KEYintNOT NULL
update_date_utcdatetimeNOT NULL
standard_text_idnvarchar (11)NOT NULLUser defined identifier (unique).
long_descriptionnvarchar (-1)NOT NULLText to use as a standard comment
create_date_utcdatetimeNOT NULL
standard_text_id_sortablevarchar (48)NOT NULLA 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
NameColumnsDescription
PK_Standard_Text$standard_text_KEYstandard_text_KEYCLUSTERED
Unique constraints
NameColumnsDescription
UK_Standard_Text$standard_text_idstandard_text_idEach id must be unique.
UK_Standard_Text$standard_text_id_sortablestandard_text_id_sortableAn index by the sortable ID is desired, and the algorithm ends up producing unique values.

Schema diagram