Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Date: Jul 17 1998 9:39PM
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 Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com