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
|