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)
 file compare between a text file and a sql server table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-01-28 : 08:21:02
Solly writes "Can I read a SQL server table using a field (Column) from a text(.txt) file and pick up the value that's on the table and overwrite a different field on the same text file ?

If yes, How will I be able to accomplish it ?

Thanks"

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2005-01-28 : 11:16:28
I always prefer to import the entire text file into a 'staging' table and then use set-based DML to INSERT/UPDATE/DELETE my date.

Jay White
Go to Top of Page
   

- Advertisement -