| title | sp_xtp_flush_temporal_history | ||||
|---|---|---|---|---|---|
| description | Invokes the data flush task to move all committed rows from in-memory staging table to the disk-based history table. | ||||
| author | markingmyname | ||||
| ms.author | maghan | ||||
| ms.reviewer | randolphwest | ||||
| ms.date | 06/23/2025 | ||||
| ms.service | sql | ||||
| ms.subservice | system-objects | ||||
| ms.topic | conceptual | ||||
| ms.custom |
|
||||
| f1_keywords |
|
||||
| helpviewer_keywords |
|
||||
| dev_langs |
|
||||
| monikerRange | =azuresqldb-current || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric-sqldb |
[!INCLUDE sqlserver2016-asdb-asdbmi-fabricsqldb]
Invokes the data flush task to move all committed rows from in-memory staging table to the disk-based history table.
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions
sys.sp_xtp_flush_temporal_history
[ @schema_name = ] N'schema_name'
, [ @object_name = ] N'object_name'
The schema name for the current or temporal table.
The name of the current or temporal table.
0 (success) or > 0 (failure).
Requires db_owner permissions.