Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006

    Unanswered: How do you debug a VB Script in DTS ?


    I want to load 36k records into a SQL table from a text file.

    The VBscript that I am using loads 6K records before encountering a problem with
    the transfromation.

    I have tried using msgBox but this is no way to deal with 30K worth of records.

    Could I run a SELECT to start in a table at 6K records and return a 100 at a time ?

  2. #2
    Join Date
    Nov 2004
    on the wrong server
    Provided Answers: 6
    take a look at bcp and it's associated documentation. there is stuff for logging and batching so many records at a time and handling errors.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts