SET IDENTITY_INSERT

 

SET IDENTITY_INSERT (Transact-SQL)

Applies to: yesSQL Server (all supported versions) YesAzure SQL Database YesAzure SQL Managed Instance yesAzure Synapse Analytics

Allows explicit values to be inserted into the identity column of a table.

Topic link icon Transact-SQL Syntax Conventions

Syntax

syntaxsql
SET IDENTITY_INSERT [ [ database_name . ] schema_name . ] table_name { ON | OFF }  

Comments

Popular posts from this blog

Time Example