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: "Wechsler, Steven" <SWechsler at espeed dot com>
Subject: RE: What's the best option for BCP
Date: Dec 17 2003 7:24PM

Right; also, in some instances it can be faster, if, for example, you're
selecting data out of one server, manipulating it in Perl, then BCPing it
into another server.

Although I suppose theoretically you could write the data to a named pipe
and then BCP in from there, but then you have IPC issues to worry about.


-----Original Message-----
From: Worenklein, David, GCM []
Sent: Wednesday, December 17, 2003 2:15 PM
To: Michael Peppler; Wechsler, Steven
Cc: Sybperl (E-mail)
Subject: RE: What's the best option for BCP

Of course, that makes error checking much more difficult.

For instance, if Sybase deadlocks, bcp still returns success.  You have
to scan the output of bcp to make sure it works.

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.
     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.
     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). 

For further important information, please see