Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004

    Unanswered: BCP import and EOF

    I am trying to centralize event logs with dumpevt to produce csv (comma or tab seperated) files for import via BCP. My problem lies in that it fails to put the CR/LF at the end of the last line.

    So I get an "Unexpected EOF encountered" error.

    Anyone else familar with this or how I might be able to script an insertion to those files of the CR/LF? Perhaps some way to just script appending a row terminator in the import file?

    Any assistance would be GREALTY appreciated.

  2. #2
    Join Date
    Jul 2003
    San Antonio, TX
    echo. >>errorlog_file.log
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

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