Using DTS to join FlatFile to a DB table

  • I've been trying to setup a process that will take a flatfile and the max(id) from a sql server db table to load into target sql server db table. After playing with number of different objects (File Source connection, db connection, Data-Driven Process, etc.). I'm not sure what object, process should be used to perform this task?

    help and thanks

    Carlton

  • If this is SQL 2000, you probably want the dynamic properties task. You can use teh results of a query to alter the data xfr task.

    Steve Jones

    steve@dkranch.net

  • Out of luck for me, this is on SQL Server 7?

  • Can you upload into a temp table and then do a join to insert into the real table?

    Steve Jones

    steve@dkranch.net

  • Creating the temp table makes sense to me. Depending on the type of process, you might want to then add it to some type of history table anyway.

    Andy

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply