Re: Sybase::BCP
Michael Peppler <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
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 - [email protected] - http://www.peppler.org/ Sybase DBA/Developer Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html