---
title: "syspolicy_system_health_state (SQL Server)"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/sqlserver/msdb.dbo.syspolicy_system_health_state
original: https://documentation.invantive.eu/en/datamodels/sqlserver/msdb.dbo.syspolicy_system_health_state
updated: 2026-11-18T23:25:48Z
license: https://documentation.invantive.eu/en/
---

# syspolicy_system_health_state: SQL Server

`insert` `update` `delete`

- Catalog: `msdb`
- Schema: `dbo`

Can retrieve data and change data using `insert`, `update` and `delete`.

## Table Columns

The columns of the table `syspolicy_system_health_state` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `health_state_id` | `int64` |  | [ ] |  |  |
| `last_run_date` | `datetime` |  | [ ] |  |  |
| `policy_id` | `int32` |  | [ ] |  |  |
| `result` | `char` |  | [ ] |  |  |
| `target_query_expression` | `varchar2` |  | [ ] |  |  |
| `target_query_expression_with_id` | `varchar2` |  | [ ] |  |  |

