SQL Flow Field Guide

IDENT_SEED

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

type or identity metadata

What changes

Input
argument expression or table identity metadata
Output or change
value
Return type
numeric(@@MAXPRECISION,0))

Syntax at a glance

IDENT_SEED ( 'table_or_view' )

Work example

Read the configured identity seed for a named table.

Test null, overflow, precision, and metadata visibility with values that fit the target type.

Check your work The seed describes a generator setting and not the last generated value.

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