Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    12

    Unanswered: Using BCP in Java

    Hi

    I want to use bcp in java, anyone has any sample codes please?

    My main motive is to delete a bulk of records in the database which will be too slow, therefore I decided to truncate and bcp in the data again.

    Please feel free to flood me with any other ideas! Thanks!

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    you could use xp_cmdshell instead and make a normal stored proc call.

Posting Permissions

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