|
|
sybperl-l Archive
Up Prev Next
From: s9ulzf <s9ulzf at fanniemae dot com>
Subject: Re: Sybperl BCP
Date: Apr 22 1998 3:18PM
I found my problem: forget to call &BCP_SETL(TRUE) "before"
opening server connection. Everthing is ok now.
Thanks
Lin
s9ulzf@fnma.com
On Wed, 22 Apr 1998, s9ulzf wrote:
> Hi,
>
> I am trying to do bcp in a perl program but got the following message.
> Note, I did call $dbh->bcp_init(). Any help is greately appreciated.
>
>
> Msg 4805, Level 17, State 1
> Server 'SYSADM', Line 1
> The front end tool you are using does not support the feature of bulk
> insert from host, please use the proper tools for this command.
> DB-Library error:
> General SQL Server error: Check messages from the SQL Server.
> DB-Library error:
> bcp_init() must be called before any other bcp routines.
> DB-Library error:
> bcp_init() must be called before any other bcp routines.
> ...
>
>
> Thank you.
>
> Lin
> s9ulzf@fnma.com
>
>
|