1. To choose rows in the staging table that already exist in the
2. Once I have these rows, I'd have to manually update every column
"Allan Mitchell" <allan@no-spam.sqldts.com> wrote in message
news:%234Kd8yWcFHA.456@TK2MSFTNGP09.phx.gbl...
> Without doubt the fastest and easiest way is to import to staging table
> first. You can then use TSQL to do the manipulation.
>
>
>
> --
>
>
>
> Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
>
www.SQLDTS.com - The site for all your DTS needs.
>
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
>
www.konesans.com - Consultancy from the people who know
>
>
> "deacdb" <deacdb2@hotmail.com> wrote in message
> news:eobMV5UcFHA.2936@tk2msftngp13.phx.gbl...
>> Hi,
>>
>> What's the best way to import data from a csv file into a table in which
>> some of the rows already exist in the table?
>>
>> Assume the primary key value is in the csv file. So I'm basically
>> looking for a "replace" operation on that row.
>>
>> thanks,
>> Deac
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>