Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: BCP module
Date: Feb 19 1996 8:12AM
> From: "Doctor, Pranava J." (Pranava
> No. On the way out, we could do that. Its on the way in. I would read the file
> in a while loop, unpack the fields into an array and then check the selection
> criteria for selective BCP in.
Sybase::BCP allows you to define a callback for each field. We could
add a global callback which would get passed the entire row (as an
array reference, probably) and if you return undef (or false, or 0)
from the callback then the row is skipped. I'll run some tests to see
what the speed hit would be.