-->
Applies to: SQL Server (all supported versions) Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics
Insert Ion Sidebar 1 On Microsoft 2016 Download
Microsoft Windows Steps. Select the “ File ” menu in the upper-left corner. Choose “ Account Settings “, then “ Account Settings ” again. Select the “ Data Files ” tab. Select the “ Add ” button. If you have an existing PST file you would like to add, navigate to the location where you PST resides, then select the file. Microsoft OneNote 2016 features several settings you can customize to maximize the user interface and experience. Below we share 18 easy ways to customize OneNote. Keep in mind that the desktop version offers you the most options from this list (as opposed to the free mobile or online version, though many of these customizations apply to those.

Allows explicit values to be inserted into the identity column of a table.
Syntax
Note
To view Transact-SQL syntax for SQL Server 2014 and earlier, see Previous versions documentation.
Arguments
database_name
Is the name of the database in which the specified table resides.
schema_name
Is the name of the schema to which the table belongs.
table_name
Is the name of a table with an identity column.
Remarks
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, SQL Server returns an error message that states SET IDENTITY_INSERT is already ON and reports the table it is set ON for.
If the value inserted is larger than the current identity value for the table, SQL Server 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.
Permissions
User must own the table or have ALTER permission on the table.
Examples

The following example creates a table with an identity column and shows how the SET IDENTITY_INSERT setting can be used to fill a gap in the identity values caused by a DELETE statement.
Insert Ion Sidebar 1 On Microsoft 2016 Free
See Also
Insert Ion Sidebar 1 On Microsoft 2016 Excel
CREATE TABLE (Transact-SQL)
IDENTITY (Property) (Transact-SQL)
SCOPE_IDENTITY (Transact-SQL)
INSERT (Transact-SQL)
SET Statements (Transact-SQL)