SQL Flow Field Guide

sys.sp_flush_commit_table

Check SQL Server version support in the source

Flushes the in memory syscommittab to disk to help with Change Tracking cleanup.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Not stated in the Microsoft summary.

Syntax at a glance

sys.sp_flush_commit_table
    [ @flush_ts = ] flush_ts
    [ , [ @cleanup_version = ] cleanup_version ]
[ ; ]

Work example

Flushes the in memory syscommittab to disk to help with Change Tracking cleanup.

Read the syntax and examples. Explain each argument and its effect before writing a call.

Check your work Which inputs are required, and what result or effect does the page document?

Open Microsoft Learn for full syntax, permissions, and details for your version.