Code snippet would help us see what's going on.
Also trace is your friend.

if you are not using bind_param, try like this:
$sth->bind_param(1,$value,{TYPE=>SQL_VARCHAR})  etc.

HTH,
Sumitro Chowdhury



On Fri, 2004-02-06 at 10:26, Nikunj Virani wrote:
> Hi,
> 
> I am using DBD::DB2 Drivers with perl and getting following errors
> repetetively on my log file:
> 
> ----------------------------------------------------------------------------
> -----------------------------------
> DBD::DB2::st execute failed: [IBM][CLI Driver] CLI0125E  Function sequence
> error. SQLSTATE=HY010
> ----------------------------------------------------------------------------
> ------------------------------------
> 
> has any one else faced this problem as well ?
> 
> The queries i am using gets executed through DB2 Prompt but doesnot get
> executed through perl scripts.
> 
> Any help on the matter will be highly appreciated.
> 
> Thanks & Regards,
> Nikunj Virani
> 

Reply via email to