PROSPECTTEAM
Stores members of a prospect team
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
DATEFROM |
datetime |
|
|
|
DATETO |
datetime |
yes |
|
|
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
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_PROSPECTTEAM_DATEADDED |
DATEADDED |
|
|
yes |
IX_PROSPECTTEAM_DATECHANGED |
DATECHANGED |
|
|
|
IX_PROSPECTTEAM_MEMBERID_DATEFROM_DATETO |
MEMBERID, DATEFROM, DATETO |
|
|
|
IX_PROSPECTTEAM_PROSPECTID_DATEFROM_DATETO |
PROSPECTID, DATEFROM, DATETO |
|
|
|
PK_PROSPECTTEAM |
ID |
yes |
yes |
|
Triggers