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: "Wechsler, Steven" <steven dot wechsler at wsaccess dot com>
Subject: RE: How to use BCP and Perl
Date: Sep 20 2002 12:35PM

> -----Original Message-----
> From: Mark Sutfin [mailto:MSutfin@affinitygroup.com]

[...]
> my $direction	= "DB_IN";
[...]
> my $init_status 	= $dbh->bcp_init($table, $datafile, $errfile,
> $direction);

Mark, if I recall correctly, DB_IN is a constant, and should be be supplied
directly as an argument to bcp_init, without quotes.

Steve

--
Steve Wechsler/Application Manager/Wall St. Access
Steven.Wechsler@wsaccess.com
"There is no reason anyone would want a computer in their home." 
-- Ken Olson, president, chairman and founder of DEC, 1977