Table
smmCampaignQuery
Campaign queries
Holds the named queries that belong to a marketing campaign. Each record is identified by the campaign ID and the query name, and links to the campaign record. It also stores a description and a class reference.
- Table name
smmCampaignQuery- Module
Sales and marketing- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
SmmMA- Primary index
CampaignIdNameIdx- Replacement key
None- Key fields
CampaignId, NameId- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CampaignIdThe campaign that the query belongs to. | StringsmmCampaignId | No | smmCampaignTable.CampaignId | None |
NameIdName that identifies the query within the campaign. | String (60)smmCampaignQueryName | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that explains what the query is for. | String (60)smmCampaignQueryDescription | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QueryClIdNumber of the class linked to the query, shown as a class description.low confidence | IntegerClassId | Yes | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
CampaignIdNameIdxPrimary indexUnique, alternate key.
Relations (1)
Each relation joins smmCampaignQuery to another table on the fields shown.
smmCampaignTable→smmCampaignTableJoin on
CampaignId = smmCampaignTable.CampaignIdMany smmCampaignQuery records → zero or one smmCampaignTable record
Get this data out
No public entity reads from smmCampaignQuery. Its data is only reachable through the application, a custom entity or a database export.
Need help with smmCampaignQuery in a report, an integration or a migration? Talk to Dr Dynamics.