ATTRIBUTECATEGORY
Contains data describing the available attribute record types.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
DATATYPECODE |
tinyint |
|
Default = 0 |
0=Text, 1=Number, 2=Date, 3=Currency, 4=Yes/No, 5=Code table, 6=Constituent record, 7=Fuzzy date, 8=Time, 9=Memo |
NAME |
nvarchar(100) |
|
Default = '' |
|
ONLYALLOWONEPERRECORD |
bit |
|
Default = 0 |
|
VALUECOLUMNNAME |
nvarchar(128) |
|
Default = '' |
|
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. |
DATATYPE |
nvarchar(18) (Computed) |
yes |
CASE [DATATYPECODE] WHEN 0 THEN N'Text' WHEN 1 THEN N'Number' WHEN 2 THEN N'Date' WHEN 3 THEN N'Currency' WHEN 4 THEN N'Yes/No' WHEN 5 THEN N'Code table' WHEN 6 THEN N'Constituent record' WHEN 7 THEN N'Fuzzy date' WHEN 8 THEN N'Time' WHEN 9 THEN N'Memo' END |
Provides a translation for the 'DATATYPECODE' field. |
ISLISTBUILDERATTRIBUTE |
bit |
|
Default = 0 |
|
FLAGGEDFORDELETE |
bit |
|
Default = 0 |
|
FLAGGEDFOREXTENSIONREMOVAL |
bit |
|
Default = 0 |
|
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_ATTRIBUTECATEGORY_ATTRIBUTEGROUPCODEID |
ATTRIBUTEGROUPCODEID |
|
|
|
IX_ATTRIBUTECATEGORY_CODETABLECATALOGID |
CODETABLECATALOGID |
|
|
|
IX_ATTRIBUTECATEGORY_DATEADDED |
DATEADDED |
|
|
yes |
IX_ATTRIBUTECATEGORY_DATECHANGED |
DATECHANGED |
|
|
|
PK_ATTRIBUTECATEGORY |
ID |
yes |
yes |
|
UIX_ATTRIBUTECATEGORY_ATTRIBUTERECORDTYPEID_NAME |
ATTRIBUTERECORDTYPEID, NAME |
yes |
|
|
UIX_ATTRIBUTECATEGORY_TABLECATALOGID |
TABLECATALOGID |
yes |
|
|
Triggers
Referenced by