ORGANIZATIONINFORMATION
Organization information
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
NAME | nvarchar(100) | Default = '' | The name of the organization | |
ADDRESSBLOCK | nvarchar(150) | Default = '' | The address of the organization | |
CITY | nvarchar(50) | Default = '' | The city of the organization | |
POSTCODE | nvarchar(12) | Default = '' | The zip code of the organization. | |
PHONENUMBER | nvarchar(100) | Default = '' | The phone number of the organization | |
WEBADDRESS | UDT_WEBADDRESS | Default = '' | The web address of the organization. | |
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. |
EIN | nvarchar(20) | Default = '' | The employer identification number for the organization. |
Foreign Keys
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
STATEID | uniqueidentifier | yes | STATE.LOCALID | FK to STATE |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_ORGANIZATIONINFORMATION_DATEADDED | DATEADDED | yes | ||
IX_ORGANIZATIONINFORMATION_DATECHANGED | DATECHANGED | |||
PK_ORGANIZATIONINFORMATION | ID | yes | yes |
Triggers
Trigger Name | Description |
---|---|
TR_ORGANIZATIONINFORMATION_AUDIT_UPDATE | |
TR_ORGANIZATIONINFORMATION_AUDIT_DELETE |