Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Stephen dot Sprague at morganstanley dot com
Subject: RE: What's the best option for BCP
Date: Dec 17 2003 7:41PM

it's already been done. it's called Sybase::Xfer.  it also has deadlock
retry logic. However, it's much slower than native bcp - but that's the
the price you pay.

On Wed, 17 Dec 2003 @ 2:24pm, an entity claiming to be Wechsler, Steven...:

SWechs :Right; also, in some instances it can be faster, if, for example, you're
SWechs :selecting data out of one server, manipulating it in Perl, then BCPing it
SWechs :into another server.
SWechs :
SWechs :Although I suppose theoretically you could write the data to a named pipe
SWechs :and then BCP in from there, but then you have IPC issues to worry about.
SWechs :
SWechs :Steve
SWechs :
SWechs :-----Original Message-----
SWechs :From: Worenklein, David, GCM []
SWechs :Sent: Wednesday, December 17, 2003 2:15 PM
SWechs :To: Michael Peppler; Wechsler, Steven
SWechs :Cc: Sybperl (E-mail)
SWechs :Subject: RE: What's the best option for BCP
SWechs :
SWechs :
SWechs :Of course, that makes error checking much more difficult.
SWechs :
SWechs :For instance, if Sybase deadlocks, bcp still returns success.  You have
SWechs :to scan the output of bcp to make sure it works.
SWechs :
SWechs :
SWechs :CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Copyright and any other intellectual property rights in its contents are the sole property of eSpeed, Inc.
SWechs :     E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version.
SWechs :     Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s).
SWechs :
SWechs :For further important information, please see
SWechs :
SWechs :
SWechs :