Hi Michael and Kevin,
I know Kevin's question was quite old. But I just had the same problem
recently when I used the same routine, bcp_init("tableName", ' ', ' ',
DB_IN).
I agree with Kevin that the default value specifications may cause the
problem. I tested using some table without default value specification and
it succeeded.
Do you already have a solution to fix this problem?
Thanks,
Yan
Initial message from Michael:
On Thu, 2002-10-24 at 07:52, ANSETT, Kevin, FM wrote:
> All,
>
> Appreciate any help.
>
> I am currently trying to bcp some data into a Sybase 12.5 database.
>
> Now code works on an 11.9 DB, but not on 12.5.
>
> Heres a snippet of the bcp function.
This should probably be taken to the sybperl-l mailing list, as it
doesn't have anything to do with DBI or DBD::Sybase.
However - could you send me (not the list) a sample of rows that you are
trying to load?
Thanks,
Michael
--
Michael Peppler / [EMAIL PROTECTED] / <http://www.mbay.net/~mpeppler>
[EMAIL PROTECTED] / ZetaTools, Inc / <http://www.zetatools.com>
ZetaTools: Call perl functions as Sybase stored procedures!
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************