MKTSEGMENTATIONFINDERNUMBER
Stores information about finder numbers used in marketing efforts.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
MIN |
bigint |
|
Default = ((1)) |
Minimum finder number for this set |
MAX |
bigint |
|
Default = ((1)) |
Maximum finder number for this set |
ISRESERVED |
bit |
|
Default = 0 |
Is the finder number set reserved? |
INUSE |
bit |
|
Default = 0 |
Is the finder number set in use? |
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. |
CHECKDIGIT |
bit |
|
Default = 0 |
Do finder numbers use a check digit? |
FIXEDWIDTH |
tinyint |
|
Default = 0 |
The total number of characters that will be used by each finder number. Unused space will be padded with zeros. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
SEGMENTATIONID |
uniqueidentifier |
|
MKTSEGMENTATION.ID
|
The marketing effort that uses these finder numbers |
VENDORID |
uniqueidentifier |
yes |
VENDOR.ID
|
Vendor ID |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_MKTSEGMENTATIONFINDERNUMBER_DATEADDED |
DATEADDED |
|
|
yes |
IX_MKTSEGMENTATIONFINDERNUMBER_DATECHANGED |
DATECHANGED |
|
|
|
IX_MKTSEGMENTATIONFINDERNUMBER_MAX_ID |
MAX, ID |
|
|
|
IX_MKTSEGMENTATIONFINDERNUMBER_MIN_ID |
MIN, ID |
|
|
|
IX_MKTSEGMENTATIONFINDERNUMBER_SEGMENTATIONID |
SEGMENTATIONID |
|
|
|
IX_MKTSEGMENTATIONFINDERNUMBER_VENDORID |
VENDORID |
|
|
|
PK_MKTSEGMENTATIONFINDERNUMBER |
ID |
yes |
yes |
|
Triggers