FAFRELATIONSHIPTYPE
For relationship types specific to FAF
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
RELATIONSHIPTYPENAME |
nvarchar(100) |
|
Default = '' |
FAF Relationship Type Name |
RELATIONSHIPTYPEID |
uniqueidentifier |
|
|
Relationship type ID from RELATIONSHIPTYPECODE table |
RECIPROCALRELATIONSHIPTYPEID |
uniqueidentifier |
|
|
Reciprocal relationship type ID from RELATIONSHIPTYPECODE table |
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_FAFRELATIONSHIPTYPE_DATEADDED |
DATEADDED |
|
|
yes |
IX_FAFRELATIONSHIPTYPE_DATECHANGED |
DATECHANGED |
|
|
|
PK_FAFRELATIONSHIPTYPE |
ID |
yes |
yes |
|
UIX_FAFRELATIONSHIPTYPE_RELATIONSHIPTYPEID_RECIPROCALRELATIONSHIPTYPEID |
RELATIONSHIPTYPEID, RECIPROCALRELATIONSHIPTYPEID |
yes |
|
|
Triggers