SDAC

TMSDumpOptions.IdentityInsert Property

Used to add SET IDENTITY_INSERT TableName ON at the beginning of the script and SET IDENTITY_INSERT TableName OFF at the end of the script.

Class

TMSDumpOptions

Syntax

property IdentityInsert: Boolean default False;

Remarks

Use the IdentityInsert property to add SET IDENTITY_INSERT TableName ON at the beginning of the script and SET IDENTITY_INSERT TableName OFF at the end of the script. The first line allows explicit values to be inserted into the identity column of a table and INSERT statements are generated with IDENTITY field values. Otherwise the IDENTITY field will not be included to the INSERT statements. SET IDENTITY_INSERT will not be added while the option is ON if the table does not have a field identified as IDENTITY or there are no records in the table.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback