Table
SysQueryRulesInput
Holds rules that act on specific database queries. Each rule is tied to a query hash and SQL statement, and the action is to block, throttle or optimise. A rule also has an expiry date and action parameters.
- Table name
SysQueryRulesInput- Module
Cross-module and platform- Table group
Framework- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
ApplicationPlatform
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActionWhat is done with the query: block, throttle or optimise. | EnumSysQueryRulesActionType (enum) | No | None | |
ActionParametersExtra settings for the chosen action, stored as text. | String (-1) | No | None | |
ExpirationDateDate and time when the rule expires. | UtcDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QueryStoreHashHash value that identifies the query in the query store. | String (128) | No | 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 | |
SqlStatementText of the SQL statement the rule applies to. | String (-1) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ValueHashShort hash value for the rule data.low confidence | String (32) | No | None |
Indexes (1)
QueryStoreHashIdxUnique.
Get this data out
No public entity reads from SysQueryRulesInput. Its data is only reachable through the application, a custom entity or a database export.
Need help with SysQueryRulesInput in a report, an integration or a migration? Talk to Dr Dynamics.