MKTSOURCECODE
Stores information pertaining to a source code layout.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(100) |
|
Default = '' |
The name of this source code layout. |
| ISACTIVE |
bit |
|
Default = 1 |
|
| ISDEFAULT |
bit |
|
Default = 1 |
|
| 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. |
| DESCRIPTION |
nvarchar(255) |
|
Default = '' |
A short description for this source code layout. |
| ISHISTORICAL |
bit |
|
Default = 0 |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site to which this source code belongs. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_MKTSOURCECODE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_MKTSOURCECODE_DATECHANGED |
DATECHANGED |
|
|
|
| IX_MKTSOURCECODE_SITEID |
SITEID |
|
|
|
| PK_MKTSOURCECODE |
ID |
yes |
yes |
|
| UC_MKTSOURCECODE_NAME |
NAME |
yes |
|
|
Triggers
Referenced by