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: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: large integers
Date: Feb 1 1996 7:14AM

From: ivan@algorithmics.com (Ivan Simon)
> 
> One of my first thoughts was to use dbconvert(). However, it does
> not seem to be a part of Sybperl 2b1, the release that I am using.
> Is dbconvert() available in a later release of sybperl.

Actually, dbconvert() *is* used internally. However, you *have* to
enable System 10 behaviour, otherwise DBlibrary returns
numeric/decimal/identity data items as FLOAT (ie the library silently
converts the data, which is done so that older programs that don't
expect to handle the newer datatypes should continue to work.)

Sybperl 2.03 (available from a CPAN site near you) turns on System 10
behaviour, and returns large integers as strings.