Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 update record when execute query bulk insert

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-06-07 : 07:12:50
bona writes "i use bulk insert to import data from textfile. When I import data, i want insert record when data not avaiable, and update record when data alredy have in my table.
How to update record data in table when execute query bulk insert ?

TQ
Bona"

mwjdavidson
Aged Yak Warrior

735 Posts

Posted - 2005-06-07 : 08:02:02
Bulk insert into a staging table then use this in insert / update statements.

Mark
Go to Top of Page
   

- Advertisement -