T-SQL or DTS or both?

  • Soon I will be recieving ASCII data from another company to update logs for our contractors.(~500 records a day)

    Before I can update the log data I have to check to see if I have the contractor ID. if not add the record for him before adding his logs. My question is whats the best way of going about this? I do not think I can do it with DTS because you can not check a field and do stuff with it. I was thinking maybe reading it through t-sql. Can someone point me in the right direction?

    Matt

  • Use DTS. I'd load into a staging table and then use T-SQL to do the work, but call it from DTS.

    Steve Jones

    sjones@sqlservercentral.com

    http://www.sqlservercentral.com/columnists/sjones

    http://www.dkranch.net

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

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