SQL Flow Field Guide

MIN_ACTIVE_ROWVERSION

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

system function

What changes

Input
arguments or engine/session state
Output or change
value
Return type
Returns a binary(8) value.

Syntax at a glance

MIN_ACTIVE_ROWVERSION ( )

Work example

Read the minimum active rowversion for a synchronization watermark.

Read state in the intended scope and immediately after the statement it describes. Treat host values as untrusted.

Check your work Coordinate snapshot boundaries and keep the documented lower bound when resuming a sync.

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