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 Peppler - email@example.com - http://www.peppler.org/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html