DTS import with identity seed column

  • Hi

    Im tying to import data from a text file to a table. This table has an identity column ([Line Number]), with an identity seed of 1. I have instructed the DTS wizard to 'Ignore' this column, causing an error thats states that NULL values aren't allowed for this column.

    I know I can import this into a new table that does not have a [line number] column, and then do a simple 'insert into', not specifying the [line number] column, into existing table, but I would like to do this directly.

    Any ideas?


    Robert

  • Did you have "Enable Identity Insert" enabled?  If so, uncheck it on the "Column Mappings" tab of the wizard.

    Greg

    Greg

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply