# Intelligent Query Processing (IQP)

> How to use Intelligent Query Processing (IQP) in Microsoft SQL Server.
>
> Source : https://www.pachadata.com/en/docs/articles/sql-server/iqp/
> Author : Rudi Bruchez · updated 2026-10-14
> Markdown version of the page, for tools and LLMs. The HTML page is the reference.


## IQP feature table

| IQP feature | Description | SQL Server version | Edition |
| ----------- | ----------- | ------------------ | ------- |
| [CE feedback](https://learn.microsoft.com/sql/relational-databases/performance/intelligent-query-processing-cardinality-estimation-feedback) |             |                    |         |

## Enterprise edition

[Reference](https://learn.microsoft.com/sql/sql-server/editions-and-components-of-sql-server-2022#intelligent-query-processing)

| Feature                                                          | Standard |
| ---------------------------------------------------------------- | :------: |
| Approximate count distinct    |   Yes    |
| Approximate percentile        |   Yes    |
| Automatic tuning                                                 |    No    |
| Batch mode adaptive joins                                        |    No    |
| Batch mode memory grant feedback                                 |    No    |
| Batch mode on row store                                          |    No    |
| Cardinality estimate feedback                                    |    No    |
| Degree of parallelism feedback                                   |    No    |
| Interleaved execution for multi-statement table valued functions |   Yes    |
| Memory grant feedback persistence and percentile                 |    No    |
| Optimized plan forcing        |   Yes    |
| Parameter sensitive plan optimization |   Yes    |
| Row mode memory grant feedback                                   |    No    |
| Scalar UDF inlining           |   Yes    |
| Table variable deferred compilation |   Yes    |


---

## About the author

Rudi Bruchez, independent SQL Server consultant since 2006: performance audits, tuning, migrations, high availability and training. For an audit or hands-on help on your server: https://www.pachadata.com/en/contact/ (remote audit: https://www.pachadata.com/en/services/remote-sql-server-audit/).
