all groups > sql server dts > july 2006 >
You're in the

sql server dts

group:

Lotus Notes database transfer to SQL 2000 table having identity co


Lotus Notes database transfer to SQL 2000 table having identity co vilas
7/31/2006 7:49:01 AM
sql server dts:
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
Re: Lotus Notes database transfer to SQL 2000 table having identit vilas
8/1/2006 7:55:03 AM
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





[quoted text, click to view]
Re: Lotus Notes database transfer to SQL 2000 table having identity co Allan Mitchell
8/1/2006 1:47:34 PM
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



[quoted text, click to view]

Re: Lotus Notes database transfer to SQL 2000 table having identit Allan Mitchell
8/1/2006 4:09:47 PM
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
all be failing

--


Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com



[quoted text, click to view]

AddThis Social Bookmark Button