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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Sybase::BCP
Date: May 12 2005 4:01PM

On Thu, 2005-05-12 at 17:15, Peng, Ge wrote:

> I have two questions regarding Sybase::BCP:

>      1. Can Sybase::BCP be used for Sybase IQ?

I don't know - can you load data to IQ using Sybase's bcp binary?

>      1. Can Sybase::BCP takes stdin (Unix) as its input?

Not directly. However, Sybase::BCP (or Sybase::BLK) can take a
subroutine reference that returns a row to be inserted each time it is
called - and that subroutine can certainly read from STDIN...

Michael
-- 
Michael Peppler  -  mpeppler@peppler.org  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html