PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: unsigned datatype causing ct_fetch(): overflow?
Date: Apr 14 2007 3:18PM

Note that this is fixed in the current test release (1.07_09, available 
at http://www.peppler.org/downloads, and will of course be fixed in the 
upcoming 1.08 release.

Michael

Humphrey Widjaja wrote:
> Hi,
> 
> I'm using ASE Express 15 and DBD-Sybase 1.07.
> Is it true that DBD-Sybase 1.07 can not accept unsigned datatype from 
> ASE 15?
> 
> I create a simple table:
> 
> create table asdf (
>   num unsigned smallint
> )
> 
> insert into asdf values (32768)
> 
> When I fetch the table, it gave me error message:
> 
> Message String: ct_fetch(): user api layer: internal common library
> error: The bind of result set item 1 resulted in an overflow.
> 
> Its OK when I insert 32767 (max of signed smallint).
> 
> Regards,
> 
> Humphrey
> 
> 


-- 
Michael Peppler           -                 Peppler Consulting SaRL
mpeppler@peppler.org      -                  http://www.peppler.org
Sybase DBA/Developer      -   TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ       -   http://www.peppler.org/FAQ/linux.html