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: DBLib dbrpcinit Question
Date: Aug 31 2001 10:56PM

Kanchana Weerasinghe writes:
 > Could anyone tell me how to specify NUMERIC and INT datatypes in a rpc call
 > ...similar to the CHAR call in the example below:

INT should be easy - just use SYBINT.

NUMERIC is tougher, because DBlibrary doesn't really support them, so
I think you'll have to use float or int in that case (I don't think
that there is any support for specifying the precision and scale of
the numeric value being passed in, for example).

Michael
-- 
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler@peppler.org - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com