Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Eli Perl <eperl at Bear dot COM>
Subject: Re: dbprtype
Date: Jul 20 1998 5:11PM


What release is that? I don't think my version has it.

Michael Peppler wrote:

> Eli Perl writes:
>  > Does sybperl support dbprtype? I was able to use dbcoltype
>  > to get the numeric value of the datatype, but the call to
>  > dbprtype failed.
> I've never used it myself, but looking at the source there's a
> dbprtype() call in there, but it appears to be slightly different from
> the C version. You need to call
>         $type = $dbh->dbprtype($colid);
> where $colid is the column number.
> (The reason I had to look at the source is that I think this was
> implemented by someone who sent me a patch).
> Michael
> --
> Michael Peppler         -||-  Data Migrations Inc.
>    -||-
> Int. Sybase User Group  -||-

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.