QUERYVIEWCATALOG
The QUERYVIEWCATALOG table contains meta data about each of the objects used by query.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
OBJECTNAME |
nvarchar(128) |
|
|
Name of database object |
DISPLAYNAME |
nvarchar(255) |
|
|
Default display name used in query |
OBJECTTYPE |
tinyint |
|
Default = 0 |
0 - view, 1 - table function |
OBJECTTYPENAME |
varchar(20) (Computed) |
|
|
|
ROOTOBJECT |
bit |
|
Default = 0 |
Indicates whether or not the object is considered a root object by the query designer |
ENFORCERECORDACCESSSECURITY |
bit |
|
Default = 0 |
Indicates if Record Access Security is enforced over the records returned by this view |
DESCRIPTION |
nvarchar(max) |
|
Default = '' |
|
PRIMARYKEYFIELD |
nvarchar(128) |
yes |
|
Name of the field in the query view which represents the primary key field for the query view |
PRIMARYKEYTYPENAME |
nvarchar(128) |
yes |
|
|
SUBGROUP |
nvarchar(255) |
|
Default = '' |
Name used for subgrouping query objects in the query designer |
OUTPUTDEFINITIONXML |
xml |
yes |
|
Contains the meta data for each of the columns defined by the object |
PARAMETERMETADATAXML |
xml |
yes |
|
Contains the meta data for each of the parameters defined by the object (primarily stored procedures) |
QUERYVIEWSPEC |
xml |
yes |
|
Contains the spec xml used to create this query view |
QUERYVIEWSPECEXTENSION |
xml |
yes |
|
Contains the xml used to extend this query view |
SECURITYUIFOLDER |
nvarchar(255) |
|
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 |
USEINREPORTMODELGENERATOR |
bit |
|
Default = 0 |
|
MARTKEY |
nvarchar(255) |
yes |
|
|
ALLOWATTRIBUTEEXTENSION |
bit |
|
Default = 0 |
|
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
RECORDTYPEID |
uniqueidentifier |
yes |
RECORDTYPE.ID
|
FK to RECORDTYPE |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_QUERYVIEWCATALOG_DATEADDED |
DATEADDED |
|
|
yes |
IX_QUERYVIEWCATALOG_RECORDTYPEID |
RECORDTYPEID |
|
|
|
PK_QUERYVIEWCATALOG |
ID |
yes |
yes |
|
UC_QUERYVIEWCATALOG_OBJECTNAME |
OBJECTNAME |
yes |
|
|
Triggers
Referenced by