|
|
sybperl-l Archive
Up Prev Next
From: Eli Perl <eperl at Bear dot COM>
Subject: Re: dbprtype
Date: Jul 20 1998 5:11PM
Michael:
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.
> mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
> Int. Sybase User Group -||- http://www.isug.com
***********************************************************************************
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.
***********************************************************************************
|