LISTSORTMETHOD
Contains the sort method for various lists like code tables, states, countries, funds, etc.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| LISTKEY |
nvarchar(100) |
|
|
A key unsed to uniquely identify a dropdown |
| SORTMETHOD |
tinyint |
|
Default = 0 |
0=Alphabetically, 1=User Defined |
| 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_LISTSORTMETHOD_DATEADDED |
DATEADDED |
|
|
yes |
| PK_LISTSORTMETHOD |
ID |
yes |
yes |
|
| UC_LISTSORTMETHOD_LISTKEY |
LISTKEY |
yes |
|
|
Triggers