PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Shanbhag, Mitesh (London)" <ShanbMit at exchange dot uk dot ml dot com>
Subject: BCP
Date: Sep 13 2002 10:00AM

Hi

I am using the bcp module ( Sybase::BCP ) - to populate a table from a flat
file. Is there a way I can specify a packet size here ? ( Perl ver 5.004.04
)

$bcp->config(INPUT => $mtm_file,
OUTPUT => $database . '..valuation',
ERRORS => "$LOGDIR/mtmload.err",
SEPARATOR => ',',
LOGGER => \&bcp_msghandler,
BATCH_SIZE => 2000 );

eval { $bcp_result = $bcp->run; };


Regards,
Mitesh