Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
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) | CONVERT(bigint, TS) | Numeric representation of the timestamp. | |
DEFAULTROUTINGNUMBER | nvarchar(4000) | Default = '' | Default routing number to be used on all accounts that belong to this bank. | |
DEFAULTSORTCODE | nvarchar(8) | Default = '' | User-defined sort code for the UK | |
DEFAULTBIC | nvarchar(11) | Default = '' | ||
DEFAULTBANKCODE | nvarchar(25) | Default = '' |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
ID | uniqueidentifier | CONSTITUENT.LOCALID | Primary Key. | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
DEFAULTBANKINGSYSTEMID | uniqueidentifier | BANKINGSYSTEM.ID |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_BANK_DATEADDED | DATEADDED | |||
IX_BANK_DATECHANGED | DATECHANGED | |||
PK_BANK | ID |
Trigger Name | Description |
---|---|
TR_BANK_AUDIT_UPDATE | |
TR_BANK_AUDIT_DELETE |
Referenced by | Field |
---|---|
BANKACCOUNT | BANKID |