all groups > sql server dts > march 2007 >
You're in the

sql server dts

group:

DTS, ASCII and Counter



DTS, ASCII and Counter Bob
3/23/2007 12:00:00 AM
sql server dts: Hi,

I need to import via DTS a text file with 3 fields into a table with a
counter primary key and the same 3 fields.
When I execute the DTS, I've got an error saying null values are not allowed
for my primary key.
But in the Transformations via DirectCopyXform, i haven't selected this the
counter for the importatio, only the 3 other fields.

Where am I wrong ?!

Thanks.

Re: DTS, ASCII and Counter narayaana
3/23/2007 12:00:00 AM
in datapump, check Edit script button,
if table does not exists, it will create table using script in there, and
identity close is not written by dts...


[quoted text, click to view]

Re: DTS, ASCII and Counter Bob
3/23/2007 12:00:00 AM
My fault, but of course, the table exists and have already data in it, that
seems to be the problem !

AddThis Social Bookmark Button