You have told SQL Server to expect values in the identity column and then
pass nothing to it. You need to hook up a column from the source to this
destination column. It waits until the end to tell you this but they will
"vilas" <vilas@discussions.microsoft.com> wrote in message
news:9474D019-9989-459D-A556-637586EBE5E5@microsoft.com...
> Hi Alan,
>
> Enable inserts is on and I am not passing any field to populate the
> identity column. Also, destination identity column is not mapped to any
> source column. It throws an error after the last row saying nulls cannot
> be
> inserted in the identity column.
>
> Vilas
>
>
>
>
>
> "Allan Mitchell" wrote:
>
>> So the first thing I would check is
>>
>> 1. Have you told it to enable identity inserts?
>> 2. If you have are you passing a column to populate this field?
>> 3. If you are passing a value to this field is that source value NULL?
>>
>>
>>
>> --
>>
>>
>> Allan Mitchell
>> Konesans Ltd
>> T +44 7966 476 572
>> F +44 2071 008 479
>>
http://www.konesans.com >>
>>
>>
>> "vilas" <vilas@discussions.microsoft.com> wrote in message
>> news:8D9F33CA-73E9-4998-AD59-9CE96CCB905F@microsoft.com...
>> >I am using Notes Notes SQL Driver to pull the data from lotus notes
>> >database
>> > and add it in SQL 2000. For this I have created a table for destination
>> > in
>> > SQL 2000 database with identity column. While transferring the data, it
>> > works
>> > well till last record, but once it on last record transfer, it throws
>> > an
>> > error saying null cannot be inserted in identity column. Does anyone
>> > has
>> > any
>> > idea why this happens and if there is any workaround. Help on this will
>> > be
>> > highly appreciated.
>>
>>
>>