From 58e22557506afe9a868dab308c28b67dfc8264cf Mon Sep 17 00:00:00 2001 From: Tim Brown Date: Tue, 4 Aug 2026 13:06:35 +0100 Subject: [PATCH] Update remarks for IDENTITY_INSERT behavior Clarified the condition for updating the current identity value in the remarks section. --- docs/t-sql/statements/set-identity-insert-transact-sql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/t-sql/statements/set-identity-insert-transact-sql.md b/docs/t-sql/statements/set-identity-insert-transact-sql.md index ff8a0f8751b..40b87190640 100644 --- a/docs/t-sql/statements/set-identity-insert-transact-sql.md +++ b/docs/t-sql/statements/set-identity-insert-transact-sql.md @@ -56,7 +56,7 @@ The name of a table with an identity column. At any time, only one table in a session can have the `IDENTITY_INSERT` property set to `ON`. If a table already has this property set to `ON`, and a `SET IDENTITY_INSERT ON` statement is issued for another table, [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] returns an error message that states `SET IDENTITY_INSERT` is already `ON`, and reports the table for which `ON` is set. -If the value inserted is larger than the current identity value for the table, [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] automatically uses the new inserted value as the current identity value. +If the value inserted is beyond the current identity value (according to the INCREMENT setting) for the table, [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] automatically uses the new inserted value as the current identity value. The setting of `SET IDENTITY_INSERT` is set at execute or run time and not at parse time.