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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActionWhat is done with the query: block, throttle or optimise.Enum
SysQueryRulesActionType (enum)
NoNone
ActionParametersExtra settings for the chosen action, stored as text.String (-1)NoNone
ExpirationDateDate and time when the rule expires.UtcDateTimeNoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QueryStoreHashHash value that identifies the query in the query store.String (128)NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SqlStatementText of the SQL statement the rule applies to.String (-1)NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValueHashShort hash value for the rule data.low confidenceString (32)NoNone

Indexes (1)

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.

Email sales@drdynamics.co.uk